Archived
1
0

Add coder cloud expose command

This commit is contained in:
Anmol Sethi
2020-09-08 19:39:17 -04:00
parent 548a35c0ee
commit 579bb94a6c
6 changed files with 68 additions and 1 deletions

View File

@ -47,6 +47,8 @@ export interface Args extends VsArgs {
readonly _: string[]
readonly "reuse-window"?: boolean
readonly "new-window"?: boolean
readonly "expose"?: OptionalString
}
interface Option<T> {
@ -155,6 +157,9 @@ const options: Options<Required<Args>> = {
locale: { type: "string" },
log: { type: LogLevel },
verbose: { type: "boolean", short: "vvv", description: "Enable verbose logging." },
"expose": { type: OptionalString, description: "Expose 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." },
}
export const optionDescriptions = (): string[] => {