@@ -15,21 +15,22 @@ import { createApp } from "./server";
1515import { forkModule , requireFork , requireModule } from "./vscode/bootstrapFork" ;
1616import { SharedProcess , SharedProcessState } from "./vscode/sharedProcess" ;
1717import opn = require( "opn" ) ;
18+ import { args } from "@oclif/parser" ;
1819
1920export class Entry extends Command {
2021 public static description = "Start your own self-hosted browser-accessible VS Code" ;
2122 public static flags = {
22- cert : flags . string ( ) ,
23- "cert-key" : flags . string ( ) ,
24- "data-dir" : flags . string ( { char : "d" } ) ,
23+ cert : flags . string ( { char : "c" , description : "Point to an SSL certificate .crt file" } ) ,
24+ "cert-key" : flags . string ( { char : "k" , description : "Point to an SSL certificate .key file" } ) ,
25+ "data-dir" : flags . string ( { char : "d" , default : "Current directory" , description : "Specify the working directory for the IDE" } ) ,
2526 help : flags . help ( ) ,
2627 host : flags . string ( { char : "h" , default : "0.0.0.0" } ) ,
2728 open : flags . boolean ( { char : "o" , description : "Open in browser on startup" } ) ,
2829 port : flags . integer ( { char : "p" , default : 8443 , description : "Port to bind on" } ) ,
2930 version : flags . version ( { char : "v" } ) ,
30- "no-auth" : flags . boolean ( { default : false } ) ,
31- "allow-http" : flags . boolean ( { default : false } ) ,
32- password : flags . string ( ) ,
31+ "no-auth" : flags . boolean ( { char : "n" , default : false , description : "Start code-server without password" } ) ,
32+ "allow-http" : flags . boolean ( { char : "a" , default : false , description : "Allow use of HTTP protocol" } ) ,
33+ password : flags . string ( { description : "Specify the IDE password inline" } ) ,
3334
3435 // Dev flags
3536 "bootstrap-fork" : flags . string ( { hidden : true } ) ,
0 commit comments