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

Also strip plural "Commands" when inferring command names #490

Merged
merged 1 commit into from
Feb 20, 2024

Conversation

sschuberth
Copy link
Contributor

Sometimes a NoOpCliktCommand is used to just group further sub-commands. Such a class may then be called e.g. "ListCommands" with plural "Commands". Support stripping that suffix for such cases.

Sometimes a `NoOpCliktCommand` is used to just group further
sub-commands. Such a class may then be called e.g. "ListCommands" with
plural "Commands". Support stripping that suffix for such cases.
@ajalt ajalt merged commit 95ce4f0 into ajalt:master Feb 20, 2024
3 checks passed
@ajalt
Copy link
Owner

ajalt commented Feb 20, 2024

Thanks!

@sschuberth sschuberth deleted the infer-plural-commands-name branch February 20, 2024 20:10
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

Successfully merging this pull request may close these issues.

None yet

2 participants