Kotlin / kotlinx-cli

Pure Kotlin implementation of a generic CLI parser.
Apache License 2.0
913 stars 70 forks source link

Any way to have repeating sub commands? #78

Open BoD opened 2 years ago

BoD commented 2 years ago

I would need something like:

./myapp --add --first-name John --last-name Smith --add --first-name Jane --last-name Doe

So add is a repeating sub command.

It looks like it's not possible right now, but I'm not 100% sure. Any way to do this?