Skip to content

Commit 57de78e

Browse files
committed
Add show-versions flag and add help for list-extensions
Closes #1417.
1 parent 2342443 commit 57de78e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/node/cli.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ export interface Args extends VsArgs {
3535
readonly force?: boolean
3636
readonly "list-extensions"?: boolean
3737
readonly "install-extension"?: string[]
38+
readonly "show-versions"?: boolean
3839
readonly "uninstall-extension"?: string[]
3940
readonly locale?: string
4041
readonly _: string[]
@@ -100,10 +101,11 @@ const options: Options<Required<Args>> = {
100101
"builtin-extensions-dir": { type: "string", path: true },
101102
"extra-extensions-dir": { type: "string[]", path: true },
102103
"extra-builtin-extensions-dir": { type: "string[]", path: true },
103-
"list-extensions": { type: "boolean" },
104+
"list-extensions": { type: "boolean", description: "Listed installed extensions." },
104105
force: { type: "boolean" },
105106
"install-extension": { type: "string[]", description: "Install or update an extension by id or vsix." },
106107
"uninstall-extension": { type: "string[]" },
108+
"show-versions": { type: "boolean", description: "Show extension versions." },
107109

108110
locale: { type: "string" },
109111
log: { type: LogLevel },

0 commit comments

Comments
 (0)