-
-
Notifications
You must be signed in to change notification settings - Fork 810
✨ Enhance command alias handling and display #1422
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
base: master
Are you sure you want to change the base?
Conversation
- Added support for positional and additional aliases in the command decorator. - Updated `format_commands` to display command names along with their visible aliases. - Improved command listing to maintain original order and avoid duplicates. - Enhanced command info structure to include aliases and hidden aliases. This improves the usability and clarity of command help output.
…r into feature/CommandAliases fix some type errors in github actions
added document for new changes
📝 Docs previewLast commit fb96046 at: https://da58cb05.typertiangolo.pages.dev Modified Pages |
This enhances the test coverage for command alias functionality.
…r into feature/CommandAliases
Enhanced coverage for command help output to verify alias presence and hidden status.
svlandeg
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@pipinstalled: you can go ahead and set add # pragma: no cover to the pass statements in the tests, otherwise the coverage check will keep failing.
@svlandeg I added # pragma but still coverage failed |
You'll have to look into the specifics of the coverage report. What this typically means is that there's a code path that is untested, so you'd have to implement more tests to cover it. |
… output is disabled
…r into feature/CommandAliases
…ch output is disabled
|
@svlandeg Thanks for your help, fixed with adding new tests. |
format_commandsto display command names along with their visible aliases.This improves the usability and clarity of command help output.