SSH server & endpoint

This commit is contained in:
Will O'Beirne
2020-03-16 13:02:33 -05:00
committed by Asher
parent 5f63d2b822
commit 3463d56114
10 changed files with 526 additions and 8 deletions

View File

@ -31,6 +31,8 @@ export interface Args extends VsArgs {
readonly open?: boolean
readonly port?: number
readonly socket?: string
readonly "ssh-host-key"?: string
readonly "disable-ssh"?: boolean
readonly version?: boolean
readonly force?: boolean
readonly "list-extensions"?: boolean
@ -96,6 +98,9 @@ const options: Options<Required<Args>> = {
version: { type: "boolean", short: "v", description: "Display version information." },
_: { type: "string[]" },
"disable-ssh": { type: "boolean" },
"ssh-host-key": { type: "string", path: true },
"user-data-dir": { type: "string", path: true, description: "Path to the user data directory." },
"extensions-dir": { type: "string", path: true, description: "Path to the extensions directory." },
"builtin-extensions-dir": { type: "string", path: true },