Don
Don
Here is a POC of Trogon working with argparse: https://asciinema.org/a/VR1nYMQEu0vBGmCm9bZRoDEOc
Here's my fork that works with argparse: https://github.com/fresh2dev/argparse-tui
That's an easter egg I was not aware of. Implementing this specific to the command-tree would be great, since that's the most applicable use-case anyway. I can happily` tab/shift+tab` my...
These are my interpretation of vim-friendly *hacker* :ninja: keybindings: https://github.com/Textualize/trogon/pull/38/commits/13c91887d835395574a0d25e92b5e525cb82d48d https://github.com/Textualize/trogon/pull/38/commits/20a26bcd9b36f5b99664336364582ff90290c362 From the command tree: - `enter` to focus the selected command. - `j` to move down one command. -...
I could see this being handled via the existing `choices` logic within Trogon. But that would make click `choices` and `shell_complete` mutually-exclusive in the context of Trogon; i.e., what would...
I was going to comment here, but I instead created an issue that was more generic; not specific to this one library: https://github.com/Textualize/trogon/issues/43
Based on @darrenburns remarks, it would make the most sense that Trogon presented textboxes for these arguments that redacted user input; a textbox for secrets. Does Textual provide such a...
Based on click docs, the proper way to handle these options is self-evident, IMO. https://click.palletsprojects.com/en/8.1.x/api/#click.Option > `hide_input` (bool) – If this is True then the input on the prompt will...
I have a (hopefully temporary) fork of Trogon to make `click` an optional dependency. https://github.com/Textualize/trogon/pull/38 In this fork, I just implemented the ability for Trogon to: - omit hidden parameters...
I created an example repo to reproduce the issue: https://github.com/fresh2dev/copier-repro-1773 Looking at the [commits on this example repo](https://github.com/fresh2dev/copier-repro-1773/commits/main/), the steps that cause this problem involve: 1. init the repo 2....