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

subcommands don't get description but get help anyway #169

Open
fdev31 opened this issue May 2, 2024 · 0 comments
Open

subcommands don't get description but get help anyway #169

fdev31 opened this issue May 2, 2024 · 0 comments

Comments

@fdev31
Copy link

fdev31 commented May 2, 2024

Thank you for the project, I like the idea to stick to a small Python app for it and re-use some well known APIs...

... but struggle generating some completion file.
I think there are some issues in shtab but it could also be a mis-usage.

  1. it looks like add_help option to ArgumentParser only applies to the "root", I couldn't find a way to also avoid it in subparsers
  2. the generated completion looks fine but misses the description for every subcommand
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant