Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Concise reporting of aliases #1662

Open
srid opened this issue Aug 25, 2023 · 1 comment
Open

Concise reporting of aliases #1662

srid opened this issue Aug 25, 2023 · 1 comment

Comments

@srid
Copy link

srid commented Aug 25, 2023

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
Copy link

yes +1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants