trogon icon indicating copy to clipboard operation
trogon copied to clipboard

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

Open taranlu-houzz opened this issue 1 year ago • 1 comments

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

taranlu-houzz avatar Oct 17 '24 19:10 taranlu-houzz

@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.

daneah avatar Oct 25 '24 20:10 daneah