Skip to content

Conversation

@AmoghDeshmukh
Copy link

The Group class's to_info_dict method calls this parent method, so it will automatically get the usage string. It also recursively calls to_info_dict on its sub-commands, so the change will propagate through the entire command tree.
Added new line - "usage": self.get_usage(ctx)
Closes #2992

@Rowlando13 Rowlando13 marked this pull request as draft January 2, 2026 05:59
@Rowlando13
Copy link
Collaborator

Thank you for your efforts, but the tests don't pass and we are not accepting any features until we can clean things up with 9.0.

@Rowlando13 Rowlando13 closed this Jan 2, 2026
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 17, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add output of get_usage() to get_info_dict()

2 participants