Mavenomics / MavenWorks

Agile Dashboarding, anywhere
https://mavenworks.com
GNU General Public License v3.0
18 stars 2 forks source link

CLI should validate commands more rigorously #64

Closed quigleyj-mavenomics closed 5 years ago

quigleyj-mavenomics commented 5 years ago

Eg, the following commands (amusingly) work:

# serves the app
$ mavenworks serve green eggs and ham
# serves the app
$ mavenworks do something
# echos an empty newline
$ mavenworks cfg add 2 plus 2

We should have the argument parsing be more strict, because the above means that if you try: mavenworks add user, the CLI simply won't do anything (and certainly won't tell you to use mavenworks _cfg_ add user instead).