1
0
mirror of https://git.tuxpa.in/a/code-server.git synced 2024-12-27 04:35:25 +00:00

Add show-versions flag and add help for list-extensions

Closes #1417.
This commit is contained in:
Asher 2020-03-13 13:17:59 -05:00
parent 2342443368
commit 57de78e12a
No known key found for this signature in database
GPG Key ID: D63C1EF81242354A

View File

@ -35,6 +35,7 @@ export interface Args extends VsArgs {
readonly force?: boolean
readonly "list-extensions"?: boolean
readonly "install-extension"?: string[]
readonly "show-versions"?: boolean
readonly "uninstall-extension"?: string[]
readonly locale?: string
readonly _: string[]
@ -100,10 +101,11 @@ const options: Options<Required<Args>> = {
"builtin-extensions-dir": { type: "string", path: true },
"extra-extensions-dir": { type: "string[]", path: true },
"extra-builtin-extensions-dir": { type: "string[]", path: true },
"list-extensions": { type: "boolean" },
"list-extensions": { type: "boolean", description: "Listed installed extensions." },
force: { type: "boolean" },
"install-extension": { type: "string[]", description: "Install or update an extension by id or vsix." },
"uninstall-extension": { type: "string[]" },
"show-versions": { type: "boolean", description: "Show extension versions." },
locale: { type: "string" },
log: { type: LogLevel },