From 57de78e12a90f1b7e359e05f85579c68700e381a Mon Sep 17 00:00:00 2001 From: Asher Date: Fri, 13 Mar 2020 13:17:59 -0500 Subject: [PATCH] Add show-versions flag and add help for list-extensions Closes #1417. --- src/node/cli.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/node/cli.ts b/src/node/cli.ts index 584286096..665476436 100644 --- a/src/node/cli.ts +++ b/src/node/cli.ts @@ -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> = { "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 },