lustre-labs / dev-tools

Lustre's CLI and development tooling: zero-config dev server, bundling, and scaffolding.
45 stars 15 forks source link

:bug: Fix subcommand `build` using `add`'s description. #20

Closed 7verdy closed 5 months ago

7verdy commented 5 months ago

Summary

This fixes the subcommand build displaying the wrong description when running - for example - gleam run -m lustre/dev -- --help or gleam run -m lustre/dev build -- --help.

Examples

As of v1.1.1, here are the CLI outputs:

$ gleam run -m lustre/dev -- --help
[...]

SUBCOMMANDS:
    add     
Commands for adding external binaries to your project. These are run and managed
by Lustre, and while not typically intended to be run manually, they can be found
inside `build/.lustre/bin`.

    build       
Commands for adding external binaries to your project. These are run and managed
by Lustre, and while not typically intended to be run manually, they can be found
inside `build/.lustre/bin`.
[...]
$ gleam run -m lustre/dev build -- --help
   Compiled in 0.06s
    Running lustre/dev.main
build

Commands for adding external binaries to your project. These are run and managed
by Lustre, and while not typically intended to be run manually, they can be found
inside `build/.lustre/bin`.
[...]
hayleigh-dot-dev commented 5 months ago

Oh thank you! Good spot 💕