just - Man Page

save and run commands

Examples (TL;DR)

Description

just 1.9.0 - Please see https://github.com/casey/just for more information.

Usage

just [Flags] [Options] [--] [ARGUMENTS]...

Flags

--changelog

Print changelog

--check

Run `--fmt` in 'check' mode. Exits with 0 if justfile is formatted correctly. Exits with 1 and prints a diff if formatting is required.

--choose

Select one or more recipes to run using a binary. If `--chooser` is not passed the chooser defaults to the value of $JUST_CHOOSER, falling back to `fzf`

--clear-shell-args

Clear shell arguments

--dry-run

Print what just would do without doing it

--dump

Print justfile

-e,  --edit

Edit justfile with editor given by $VISUAL or $EDITOR, falling back to `vim`

--evaluate

Evaluate and print all variables. If a variable name is given as an argument, only print that variable's value.

--fmt

Format and overwrite justfile

--highlight

Highlight echoed recipe lines in bold

--init

Initialize new justfile in project root

-l,  --list

List available recipes and their arguments

--no-dotenv

Don't load `.env` file

--no-highlight

Don't highlight echoed recipe lines in bold

-q,  --quiet

Suppress all output

--shell-command

Invoke <COMMAND> with the shell used to run recipe lines and backticks

--summary

List names of available recipes

-u,  --unsorted

Return list and summary entries in source order

--unstable

Enable unstable features

--variables

List names of variables

-v,  --verbose

Use verbose output

-h,  --help

Print help information

-V,  --version

Print version information

Options

--chooser <CHOOSER>

Override binary invoked by `--choose`

--color <COLOR>

Print colorful output [default: auto]

[possible values: auto, always, never]

-c, --command <COMMAND>

Run an arbitrary command with the working directory, `.env`, overrides, and exports set

--completions <SHELL>

Print shell completion script for <SHELL> [possible values: zsh, bash, fish, powershell, elvish]

--dotenv-filename <DOTENV-FILENAME>

Search for environment file named <DOTENV-FILENAME> instead of `.env`

--dotenv-path <DOTENV-PATH>

Load environment file at <DOTENV-PATH> instead of searching for one

--dump-format <FORMAT>

Dump justfile as <FORMAT> [default: just]

[possible values: just, json]

-f, --justfile <JUSTFILE>

Use <JUSTFILE> as justfile

--list-heading <TEXT>

Print <TEXT> before list

--list-prefix <TEXT>

Print <TEXT> before each list item

--set <VARIABLE> <VALUE>

Override <VARIABLE> with <VALUE>

--shell <SHELL>

Invoke <SHELL> to run recipes

--shell-arg <SHELL-ARG>...

Invoke shell with <SHELL-ARG> as an argument

-s, --show <RECIPE>

Show information about <RECIPE>

-d, --working-directory <WORKING-DIRECTORY>

Use <WORKING-DIRECTORY> as working directory. --justfile must also be set

Args

<ARGUMENTS>...

Overrides and recipe(s) to run, defaulting to the first recipe in the justfile

Info

November 2022 just 1.9.0 Just Manual