TanklesXL / glint

Gleam command-line argument parsing with flags and automated help text generation.
https://hex.pm/packages/glint
Apache License 2.0
50 stars 7 forks source link

Customizable Help Text #16

Closed Willyboar closed 4 months ago

Willyboar commented 1 year ago

I want to create a CLI app for my Globe Backend and i would use deno to compile it to a single executable ( until we get native) and i want to be able to customize more the help text. Now the help text looks like that:

Prints Hello, <NAME>!

USAGE:
        'gleam run <NAME>' or 'gleam run <NAME> --caps'

FLAGS:
        --help                             Print help information
        --caps=<CAPS>           Capitalize the provided name

but in the USAGE: section I want to be able to change it to:

USAGE:
        'globe <NAME>' or 'globe <NAME> --caps'

EDIT: Also it would be nice to be able to add a header above description :-P