Closed TomGoffrey closed 3 years ago
It looks like the case of an invalid argument is handled correctly though:
desk abc
usage: desk [-h] {fit,grids,save_model,sed,sed_indiv,version} ...
desk: error: argument subparser_name: invalid choice: 'abc' (choose from 'fit', 'grids', 'save_model', 'sed', 'sed_indiv', 'version')
Describe the bug Invoking desk from the command line without any option raises an AssertionError
To Reproduce
Expected behavior
Perhaps the most sensible thing here would be to return the same as
desk --help
?Screenshots
Additional context