Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add command widgets to Textual CLI #2921

Open
rodrigogiraoserrao opened this issue Jul 11, 2023 · 1 comment · May be fixed by Textualize/textual-dev#8
Open

Add command widgets to Textual CLI #2921

rodrigogiraoserrao opened this issue Jul 11, 2023 · 1 comment · May be fixed by Textualize/textual-dev#8
Assignees
Labels
enhancement New feature or request

Comments

@rodrigogiraoserrao
Copy link
Contributor

rodrigogiraoserrao commented Jul 11, 2023

(This issue is reserved for the EuroPython 2023 sprint. If you are not participating in the sprint, please refrain from working on this issue. Thanks!)

The Textual CLI has many useful commands for developers building applications, like textual keys, textual colors, and textual borders.
This issue concerns itself with adding a subcommand textual widgets to the Textual CLI.

This command should be a terminal version of the current widget gallery.
textual widgets should display a simple but interesting example of each widget together with a link to the reference page for that widget.

Consider having a left menu to jump to the different widgets, akin to how textual borders works.

It is very important that this is easy to maintain.
For example, when a new widget is added to Textual, it should be straightforward to add it to this app.

See #1409 or #1545 for examples on how to add CLI commands.

Good luck and have fun!

@pavelkraleu
Copy link

I will look into this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants