Reference for the just command runner, covering discovery, execution and justfile syntax.
- What it does
- This skill is a reference guide for just, the command runner. It lists discovery commands such as just --dump, --evaluate, --help, --list, --show and --summary, and execution commands for running default or named recipes with arguments. It also shows justfile syntax examples for variables, dependencies, arguments, default values, doc-comments and shebang recipes.
- When to use it
- Use it when working in a project that has a justfile, or when the user mentions just or justfile. It helps look up the right command or recipe syntax.
- Requirements
- No scripts are shipped; it is instructions only. Using the described commands requires the just command runner to be installed.
Just
Discovery
just --dump Print justfile
just --evaluate Print variable values
just --help Print detailed command-line syntax help
just --list Print recipes with descriptions
just --show <RECIPE> Print recipe source
just --summary Print recipes without descriptiosn
Execution
just Run default recipe
just <RECIPE> Run specific recipe
just <RECIPE> <ARG1> <ARG2 Run recipe with arguments
Syntax
Notes
The comment proceeding a recipe is used as its doc-comment, and included in
just --list.
By default, each line of a recipe runs in a fresh shell. Recipes whose bodies
start with #! are written to a file and executed as a script.
Commonly used commands and scripts should be turned into just recipes.