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

Closed
rodrigogiraoserrao opened this issue Jul 11, 2023 · 3 comments · May be fixed by Textualize/textual-dev#8
Closed

Add command widgets to Textual CLI #2921

rodrigogiraoserrao opened this issue Jul 11, 2023 · 3 comments · 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

@willmcgugan
Copy link
Collaborator

Still a good idea. But not a priority. Still happy to consider that linked PR.

@willmcgugan willmcgugan closed this as not planned Won't fix, can't repro, duplicate, stale Sep 27, 2024
Copy link

Don't forget to star the repository!

Follow @textualizeio for Textual updates.

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.

3 participants