Archived
1
0

Fixes for @ammarb

This commit is contained in:
Anmol Sethi
2020-10-06 21:05:32 -04:00
parent 6e8248cf0c
commit c3c24fe4d2
3 changed files with 14 additions and 18 deletions

View File

@ -48,7 +48,7 @@ export interface Args extends VsArgs {
readonly "reuse-window"?: boolean
readonly "new-window"?: boolean
readonly "coder-link"?: OptionalString
readonly "coder-bind"?: string
}
interface Option<T> {
@ -159,10 +159,10 @@ const options: Options<Required<Args>> = {
log: { type: LogLevel },
verbose: { type: "boolean", short: "vvv", description: "Enable verbose logging." },
"coder-link": {
type: OptionalString,
"coder-bind": {
type: "string",
description: `
Securely link code-server via Coder Cloud with the passed name. You'll get a URL like
Securely bind code-server via Coder Cloud with the passed name. You'll get a URL like
https://myname.coder-cloud.com at which you can easily access your code-server instance.
Authorization is done via GitHub. Only the first code-server spawned with the current
configuration will be accessible.`,