1
0
Fork 0
mirror of synced 2024-07-03 13:30:46 +12:00

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

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: "",
})