Kotlin / kotlinx-cli

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

Add description to ArgParser #30

Open konsumlamm opened 4 years ago

konsumlamm commented 4 years ago

It would be nice to be able to provide a description for the ArgParser, that gets printed above or below the Usage: ... line in the help message.

This shouldn't be hard to implement, so I could make a PR if you like this idea.

LepilkinaElena commented 4 years ago

There was a plan to add DSL to allow users to construct help message if default one isn't suitable.

konsumlamm commented 4 years ago

There was a plan to add DSL to allow users to construct help message if default one isn't suitable.

Is this still planned?

LepilkinaElena commented 4 years ago

Yes, it's planned, but design isn't fully discussed. cc @ilya-g