LAAC-LSCP / ChildProject

Python package for the management of day-long recordings of children.
https://childproject.readthedocs.io
MIT License
13 stars 5 forks source link

CLI calls are confusing, --help sometimes misleading #400

Open LoannPeurey opened 1 year ago

LoannPeurey commented 1 year ago

Is your feature request related to a problem? Please describe. The current CLI calls can get confusing, especially with a lot of options (some of them being listed as optional by argparse but being required) and when options are linked to a subcommand and must be placed after the keyword (e.g. child-project metrics . results.csv --vtc vtc aclew --recordings recs.csv will not work because --recordings should be before aclew (linked to metrics subcommand) and --vtc should be after aclew (because linked to aclew subcommand)

Describe the solution you'd like More thinking needed,

LoannPeurey commented 7 months ago

interactive CLI could be useful : https://medium.com/geekculture/build-interactive-cli-tools-in-python-47303c50d75 examples:

(maybe look at easy to maintain / flexible GUI options like Eel)