case-app icon indicating copy to clipboard operation
case-app copied to clipboard

Feature request: more automatic documentation for flags in --help

Open olafurpg opened this issue 8 years ago • 2 comments

Just some fancy features that I think would be cool to have. It would be nice if the --help message could

  • show the default values for options with default values.
  • mark non-optional values as required.
  • show <type> of the flag instead of "<value>". For example, <bool> for Boolean or <int*> for List[Int].

olafurpg avatar Aug 25 '16 07:08 olafurpg

👍 for the first two points at least.

What do you mean about the flags? That the short version should be printed before the long one?

alexarchambault avatar Aug 30 '16 11:08 alexarchambault

Whoops, the angle brackets in the third bullet got rendered as html tags, see updated comment.

👍 for the first two points at least.

Awesome!

olafurpg avatar Aug 30 '16 13:08 olafurpg