-
Notifications
You must be signed in to change notification settings - Fork 66
Description
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:
mycli/
|_ commands/
|_ cmd1.py
|_ cmd2.py
|_ cmd3.py
|_ ...
Running mycli
would list all the commands, and running mycli cmd1
would list all the cmd
subcommands
If I implement Trogon
from the docs, I would need to do mycli cmd1 tui
to have a TUI for the mycli cmd1
subcommands, but I would love having a mycli 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