[CLI] Add help message when no subcommand is specified
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
6bfcb3642d
commit
78c40e4819
@ -94,4 +94,6 @@ if (command) {
|
||||
} catch (err) {
|
||||
console.log(Colors.bold(Colors.red("An error occured:")), err.message);
|
||||
}
|
||||
} else {
|
||||
flags.cmd.help();
|
||||
}
|
||||
|
@ -1,10 +1,14 @@
|
||||
{
|
||||
"name": "@denreg-cli",
|
||||
"version": "0.2.5",
|
||||
"version": "0.2.6",
|
||||
"description": "CLI for the DenReg package registry",
|
||||
"author": "Fabian Stamm <dev@fabianstamm.de>",
|
||||
"contributors": [],
|
||||
"files": ["**/*.ts", "**/*.js", "README.md"],
|
||||
"files": [
|
||||
"**/*.ts",
|
||||
"**/*.js",
|
||||
"README.md"
|
||||
],
|
||||
"hooks": {
|
||||
"prepublish": "pre.ts"
|
||||
}
|
||||
|
@ -1 +1 @@
|
||||
export const version = "0.2.5"
|
||||
export const version = "0.2.6"
|
Loading…
Reference in New Issue
Block a user