cli - init command not defaulting config correctly

This commit is contained in:
Michael Shanks 2020-02-27 09:32:58 +00:00
parent f7c0e7a27c
commit ea9830e025
1 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@ module.exports = {
type: "string",
describe: "config template file to use - optional, defaults to config.js",
alias: "c",
default: "config.dev.js",
default: "dev",
choices: ["dev", "contributors"],
})
yargs.positional("username", {
@ -26,7 +26,7 @@ module.exports = {
})
yargs.positional("password", {
type: "string",
describe: "passord for admin interface",
describe: "password for admin interface",
alias: "p",
default: "",
})