Lustre's cli tooling will never be distributed outside of the Gleam package and so any of the commands will always be invoked by Gleam. I'd like the ability to indicate this in the usage text so users don't get confused thinking I might have added something to their PATH etc.
% gleam run -m lustre/try -- --help
Compiling lustre
Compiled in 0.18s
Running lustre/try.main
USAGE:
- lustre/try [ ARGS ] [ --host=<STRING> --include-styles=<BOOL> --port=<INT> ]
+ gleam run -m lustre/try [ ARGS ] -- [ --host=<STRING> --include-styles=<BOOL> --port=<INT> ]
FLAGS:
--help Print help information
--host=<STRING> The host to run the server on
--include-styles=<BOOL> Include lustre_ui's sty
It would be extra great if the help text also showed the required (or at least, sometimes required depending on how clap decides to work that day) -- before including flags as I suspect that will be a frequent cause of confusion for folks.
Lustre's cli tooling will never be distributed outside of the Gleam package and so any of the commands will always be invoked by Gleam. I'd like the ability to indicate this in the usage text so users don't get confused thinking I might have added something to their PATH etc.
It would be extra great if the help text also showed the required (or at least, sometimes required depending on how clap decides to work that day)
--
before including flags as I suspect that will be a frequent cause of confusion for folks.