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

Aliases to recipes in submodules #2629

Open
john-cd opened this issue Feb 11, 2025 · 1 comment
Open

Aliases to recipes in submodules #2629

john-cd opened this issue Feb 11, 2025 · 1 comment

Comments

@john-cd
Copy link

john-cd commented Feb 11, 2025

To "alias" a recipe in a module, I believe one has to call just again:

# Format all bin and lib files
f:
  @just code fmt

# Format all packages and their local path-based dependencies
fa:
  @just code fmtall

Could we have the following?

alias f  := code::fmt 
@casey
Copy link
Owner

casey commented Feb 11, 2025

Good suggestion! I added it to #2252.

I think this should be pretty easy to add, so added the good first issue label in case anyone wants to take a crack at it.

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

No branches or pull requests

2 participants