WHOIGit / domdb

DOM mass spec database prototype
MIT License
1 stars 3 forks source link

CLI should do something reasonable when given bad parameters #18

Closed joefutrelle closed 10 years ago

joefutrelle commented 10 years ago

Currently if you mis-specify parameters to a command, no validation takes place--instead the entire CLI just crashes.

Switch to some reasonable form of validation.

joefutrelle commented 10 years ago

This cuts across all the CLI commands so either I need to address it command-by-command or use something like a decorator to handle exceptions. Will start by testing each command with bogus params