output usage info if no command is given
This commit is contained in:
parent
35f5e6cd52
commit
76c23627a2
|
@ -290,4 +290,7 @@ unless semver.satisfies process.version[1...], nodeVersion
|
||||||
You have #{process.version[1...]}
|
You have #{process.version[1...]}
|
||||||
"""
|
"""
|
||||||
|
|
||||||
cli.parse process.argv
|
if process.argv.length <= 2
|
||||||
|
cli.outputHelp()
|
||||||
|
else
|
||||||
|
cli.parse process.argv
|
||||||
|
|
Loading…
Reference in New Issue