We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8270950 commit a32a9c8Copy full SHA for a32a9c8
src/ui.js
@@ -98,7 +98,14 @@ async function promptSelectRepositories(repositories) {
98
multiple: true,
99
footer: '—————————————————————————————————————————————————',
100
format: (value) => style.green(value),
101
- choices: repositories.map(({ full_name }) => full_name),
+ choices: repositories.map((repo) => {
102
+ return {
103
+ name: repo.full_name,
104
+ message: repo.archived
105
+ ? `${repo.full_name} ${style.dim('(archived)')}`
106
+ : repo.full_name,
107
+ };
108
+ }),
109
});
110
} catch (error) {
111
return { repos: [] };
0 commit comments