mirror of
https://github.com/coder/code-server.git
synced 2025-07-30 21:45:08 +08:00
SSH server & endpoint
This commit is contained in:
@ -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 },
|
||||
|
Reference in New Issue
Block a user