Textualize / trogon

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

Increasing versatility of trogon by making it standalone tool #64

Closed thisismygitrepo closed 11 months ago

thisismygitrepo commented 11 months ago

I'm looking for a tool and this is almost what I wanted except that its not a stand-alone utility, but rather an ad-on for people already using click.

Can I please suggest providing an example of how to use this tool independently? Concretely, the user provides a dictionary of keys with potential values for each and defaults and description etc, and boom, we have a TUI.

I think this is already what's happening internally in trogon where it is scraping the output of click to design the TUI, so in this case, we are providing that directly.

Thank you.

thisismygitrepo commented 11 months ago

I think piggybacking on click is a great idea cause it provides an already well-known template of how to pass arguments and Github Copilot helps filling those in seconds thanks to popularity of click.