end with error if an action is not found
This commit is contained in:
@ -12,9 +12,11 @@ export let handleCli = async (argvArg) => {
|
||||
switch (action) {
|
||||
default:
|
||||
plugins.beautylog.error(`>>npmci cloudflare ...<< action >>${action}<< not supported`)
|
||||
process.exit(1)
|
||||
}
|
||||
} else {
|
||||
plugins.beautylog.log(`>>npmci cloudflare ...<< cli arguments invalid... Please read the documentation.`)
|
||||
process.exit(1)
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user