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