casey / just

🤖 Just a command runner
https://just.systems
Creative Commons Zero v1.0 Universal
21.77k stars 484 forks source link

Concise reporting of aliases #1662

Open srid opened 1 year ago

srid commented 1 year ago

For this justfile,

# Auto-format the source tree
fmt:
    treefmt
alias f := fmt

# Run the project locally
watch $RUST_BACKTRACE="1":
    cargo leptos watch
alias w := watch

When I run just, I see:

Available recipes:
    default
    doc
    fmt                       # Auto-format the source tree
    f                         # alias for `fmt`
    test                      # Run tests (backend & frontend)
    watch $RUST_BACKTRACE="1" # Run the project locally
    w $RUST_BACKTRACE="1"     # alias for `watch`
    watch-release             # Run cargo in release mode (prints red panic)

What I'd like to see instead:

Available recipes:
    default
    doc
    fmt [aliases: f]                      # Auto-format the source tree
    test                      # Run tests (backend & frontend)
    watch $RUST_BACKTRACE="1" [aliases: w] # Run the project locally
    watch-release             # Run cargo in release mode (prints red panic)

This can keep the output tidy when there are a lots of aliases.

darrylwest commented 1 year ago

yes +1