Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Proof of concept to use https://github.com/Textualize/trogon, a https://github.com/textualize/textual extension, to generate a Textual UI for exploring the
verdi
command-line interface.It is a simple way for users to see all the available commands in
verdi
, without having to dig through the help of each subcommand.As you see, its is only 2-lines of code, so no real problem in that respect.
But obviously it adds additional dependencies, which has to be considered (and currently is not on conda: Textualize/trogon#49 (comment))
In the future, I would also suggest that Textual could be used to write improved interfaces for some of the CLI commands, such as exploring the provenance graph and process statuses.
I think its an interesting middle ground between CLIs, which are lightweight but have limited interactivity, and GUIs which generally require technologies outside of Python, REST APIs, etc