ajalt / clikt

Multiplatform command line interface parsing for Kotlin
https://ajalt.github.io/clikt/
Apache License 2.0
2.51k stars 121 forks source link

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

Closed sschuberth closed 6 months ago

sschuberth commented 6 months ago

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 commented 6 months ago

Thanks!