just icon indicating copy to clipboard operation
just copied to clipboard

Suggestion: alias for a module

Open Splines opened this issue 8 months ago • 1 comments

I have checked the module documentation and the aliases documentation.

It'd be awesome if we could do something like this

mod test ".config/commands/test.justfile"
alias t := test

And use it like just t test-recipe-in-test-justfile, i.e. alias the module itself. Previously, the hack around modules was as follows where you could do this:

alias d := docker
# Groups docker commands
docker recipe='' *ARGS='':
just -f ./config/commands/docker.justfile {{recipe}} {{ARGS}}

Splines avatar Jul 03 '24 20:07 Splines