Archived
1
0

Show --install-extension in help menu

Also add --force so extensions can be updated without prompts.

Closes #1392.
This commit is contained in:
Asher 2020-03-05 10:39:42 -06:00
parent 04542c99fd
commit 1f6ff2f763
No known key found for this signature in database
GPG Key ID: D63C1EF81242354A

View File

@ -32,6 +32,7 @@ export interface Args extends VsArgs {
readonly port?: number readonly port?: number
readonly socket?: string readonly socket?: string
readonly version?: boolean readonly version?: boolean
readonly force?: boolean
readonly "list-extensions"?: boolean readonly "list-extensions"?: boolean
readonly "install-extension"?: string[] readonly "install-extension"?: string[]
readonly "uninstall-extension"?: string[] readonly "uninstall-extension"?: string[]
@ -100,7 +101,8 @@ const options: Options<Required<Args>> = {
"extra-extensions-dir": { type: "string[]", path: true }, "extra-extensions-dir": { type: "string[]", path: true },
"extra-builtin-extensions-dir": { type: "string[]", path: true }, "extra-builtin-extensions-dir": { type: "string[]", path: true },
"list-extensions": { type: "boolean" }, "list-extensions": { type: "boolean" },
"install-extension": { type: "string[]" }, force: { type: "boolean" },
"install-extension": { type: "string[]", description: "Install or update an extension by id or vsix." },
"uninstall-extension": { type: "string[]" }, "uninstall-extension": { type: "string[]" },
locale: { type: "string" }, locale: { type: "string" },