Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
LoannPeurey opened this issue Sep 7, 2022 · 1 comment
Open

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

LoannPeurey opened this issue Sep 7, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@LoannPeurey
Copy link
Contributor

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,

  • could be technically hard to release the placement constraints
  • could lead to conflicts to remove placement constraints (same options for subcommands)
  • could let go of the use of argparse (because forces a certain --help format)
  • explore the possibility of using typer
@LoannPeurey LoannPeurey added the enhancement New feature or request label Sep 7, 2022
@LoannPeurey
Copy link
Contributor Author

LoannPeurey commented Nov 13, 2023

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

2 participants