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

CLI sub-commands help text is truncated #150

Open
cmpadden opened this issue Feb 10, 2025 · 0 comments
Open

CLI sub-commands help text is truncated #150

cmpadden opened this issue Feb 10, 2025 · 0 comments

Comments

@cmpadden
Copy link

cmpadden commented Feb 10, 2025

Problem

I am noticing the help text for commands are being truncated, see screenshot below:

Image

Reason

The command.get_short_help_str() method is used to generate help strings for in the _format_subcommand function.

This methods defaults to truncating at limit=45: get_short_help_str(limit=45):

Solution

Would it be possible to make this behavior configurable, and allow for us to get the full help text for sub-commands?

Thanks!

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

No branches or pull requests

1 participant