I'm experimenting with using glint to configure lustre's preview web server. The default help text prints like this:
% gleam run -m lustre/try -- --help
Compiling lustre
Compiled in 0.18s
Running lustre/try.main
USAGE:
lustre/try [ ARGS ] [ --host=<INT> --include-styles=<BOOL> --port=<STRING> ]
FLAGS:
--help Print help information
--host=<INT> The port to run the server on
--include-styles=<BOOL> Include lustre_ui's stylesheet in your app.
--port=<STRING> The host to run the server on
This is really great except for the fact that this command will never have anything that could be a valid arg and showing [ ARGS ] makes it sound possible. I'd rather not write my own help text from scratch, so it'd be helpful if glint had a way for me to say "this thing doesn't take arguments, don't document them" somewhere.
I'm experimenting with using glint to configure lustre's preview web server. The default help text prints like this:
This is really great except for the fact that this command will never have anything that could be a valid arg and showing
[ ARGS ]
makes it sound possible. I'd rather not write my own help text from scratch, so it'd be helpful if glint had a way for me to say "this thing doesn't take arguments, don't document them" somewhere.