Skip to content

remove suffixes from generated command name#2604

Merged
davidism merged 1 commit into
mainfrom
command-suffix
Sep 1, 2023
Merged

remove suffixes from generated command name#2604
davidism merged 1 commit into
mainfrom
command-suffix

Conversation

@davidism

@davidism davidism commented Sep 1, 2023

Copy link
Copy Markdown
Member

When generating a command's name from the function's name, the suffixes _command, _cmd, _group, and _grp are removed.

fixes #2322

@davidism davidism added this to the 8.2.0 milestone Sep 1, 2023
@davidism
davidism merged commit 9c5e989 into main Sep 1, 2023
@davidism
davidism deleted the command-suffix branch September 1, 2023 21:17
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Sep 16, 2023
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.

strip "_command" suffix when generating command name

1 participant