ReproNim / reproman

ReproMan (AKA NICEMAN, AKA ReproNim TRD3)
https://reproman.readthedocs.io
Other
24 stars 14 forks source link

ENH: run: Show usage help if command or resource isn't given #530

Closed kyleam closed 4 years ago

kyleam commented 4 years ago

Raise an InsufficientArgumentsError rather than a plain ValueError so that cmdline.main calls print_usage() after catching it. Showing this output is consistent with what other commands do and saves callers from needing to follow up with reproman -h.

Closes #466.

yarikoptic commented 4 years ago

Travis is green really. Thanks!