cli - init command not defaulting config correctly
This commit is contained in:
parent
f7c0e7a27c
commit
ea9830e025
|
@ -15,7 +15,7 @@ module.exports = {
|
||||||
type: "string",
|
type: "string",
|
||||||
describe: "config template file to use - optional, defaults to config.js",
|
describe: "config template file to use - optional, defaults to config.js",
|
||||||
alias: "c",
|
alias: "c",
|
||||||
default: "config.dev.js",
|
default: "dev",
|
||||||
choices: ["dev", "contributors"],
|
choices: ["dev", "contributors"],
|
||||||
})
|
})
|
||||||
yargs.positional("username", {
|
yargs.positional("username", {
|
||||||
|
@ -26,7 +26,7 @@ module.exports = {
|
||||||
})
|
})
|
||||||
yargs.positional("password", {
|
yargs.positional("password", {
|
||||||
type: "string",
|
type: "string",
|
||||||
describe: "passord for admin interface",
|
describe: "password for admin interface",
|
||||||
alias: "p",
|
alias: "p",
|
||||||
default: "",
|
default: "",
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue