Skip to content

Commit f2457cf

Browse files
Japneet Singh ChawlaJapneet Singh Chawla
authored andcommitted
cli command fixes for help command
1 parent a1f450b commit f2457cf

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

index.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ const argv = require("yargs")
2929
type: "string",
3030
})
3131
.option("env", {
32-
alias: "env",
32+
alias: "environment",
3333
describe: "environment",
3434
type: "string",
3535
})
@@ -49,7 +49,7 @@ const argv = require("yargs")
4949
type: "string",
5050
})
5151
.option("envs", {
52-
alias: "envs",
52+
alias: "env-variables",
5353
describe: "environment variables",
5454
type: "string",
5555
})
@@ -79,7 +79,7 @@ const argv = require("yargs")
7979
type: "string",
8080
})
8181
.option("sync", {
82-
alias: "sync",
82+
alias: "sync-mode",
8383
describe: "Sync Build",
8484
type: "string",
8585
})
@@ -89,7 +89,7 @@ const argv = require("yargs")
8989
type: "string",
9090
})
9191
.option("headless", {
92-
alias: "headless",
92+
alias: "headless-mode",
9393
describe: "Run in headless mode",
9494
type: "boolean",
9595
})
@@ -121,17 +121,17 @@ const argv = require("yargs")
121121
demandOption: true,
122122
})
123123
.option("user", {
124-
alias: "user",
124+
alias: "username",
125125
describe: "username",
126126
type: "string",
127127
})
128-
.option("access_key", {
129-
alias: "access_key",
128+
.option("ak", {
129+
alias: "access-key",
130130
describe: "Access Key",
131131
type: "string",
132132
})
133133
.option("env", {
134-
alias: "env",
134+
alias: "environment",
135135
describe: "environment",
136136
type: "string",
137137
});

0 commit comments

Comments
 (0)