fix: register new CLI commands with rich-click#4298
Merged
Conversation
5b4a521 to
bba273e
Compare
provinzkraut
approved these changes
Sep 21, 2025
dea653e to
11050d8
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #4298 +/- ##
=======================================
Coverage 98.25% 98.25%
=======================================
Files 344 344
Lines 15866 15869 +3
Branches 1749 1749
=======================================
+ Hits 15589 15592 +3
Misses 140 140
Partials 137 137 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Documentation preview will be available shortly at https://litestar-org.github.io/litestar-docs-preview/4298 |
provinzkraut
pushed a commit
that referenced
this pull request
Sep 21, 2025
After the most recent updates to `rich-click` and `click`, CLI plugins no longer show the command in the command help text. This is because the plugin was not loaded before rending the help text. This change ensures that the plugins are loaded prior to formatting the help output. (cherry picked from commit 980029f)
Contributor
|
Sorry about that! 😓 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
After the most recent updates to
rich-clickandclick, CLI plugins no longer show the command in the command help text.This is because the plugin was not loaded before rending the help text. This change ensures that the plugins are loaded prior to formatting the help output.