Textualize / trogon

Easily turn your Click CLI into a powerful terminal application
MIT License
2.5k stars 54 forks source link

[Feature Request] Support the `rich_help_panel` param for `typer` apps #91

Open taranlu-houzz opened 4 weeks ago

taranlu-houzz commented 4 weeks ago

When adding options to a typer app, you can specify the rich_help_panel, which will group the options in the help output. It seems that trogon does not pick up this additional grouping and all options end up in the same Options section.

Here is a link to the typer docs for rich_help_panel: https://typer.tiangolo.com/tutorial/options/help/?h=rich_help_panel#cli-options-help-panels

daneah commented 2 weeks ago

@taranlu-houzz Thanks for filing! Trogon was initially built to support Click applications; right now Trogon only very lightly supports Typer, in that there's a small wrapper so that Trogon can get the underlying Click app from the Typer app. I think we will need to solve #43 first before this can gain traction.