Open SebastienSyd opened 9 months ago
I'm also encountering the same issue. I would also like to use it with click.CommandCollection
. Haven't found a way to implement it.
I just opened a PR that adds support for MultiCommand
s (#71) since I also needed it and it was straight forward enough to implement. It works for my use case but feel free to test if it also works for you.
Hi team! I love your work, really. I discovered this new tool and would like to integrate it in our internal stack. We are using Click for an internal CLI, and we are using it commands and sub-commands with that implementation: https://click.palletsprojects.com/en/8.1.x/commands/#custom-multi-commands
Basically we have a folder structure:
Running
mycli
would list all the commands, and runningmycli cmd1
would list all thecmd
subcommandsIf I implement
Trogon
from the docs, I would need to domycli cmd1 tui
to have a TUI for themycli cmd1
subcommands, but I would love having amycli tui
command that would create a TUI for all commands and associated subcommands. Is there a way to do it with the current Trogon code, or this would need extra development? Let me know if it's unclear