iterative / shtab

↔️ Automagic shell tab completion for Python CLI applications
https://docs.iterative.ai/shtab
Other
378 stars 34 forks source link

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

Open fdev31 opened 7 months ago

fdev31 commented 7 months ago

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