← 返回命令列表

Linux command

just.1 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Run default recipe

just

Run specific recipe

just [recipe]

Run recipe with arguments

just [recipe] [arg1] [arg2]

List available recipes

just --list

Show recipe source

just --show [recipe]

说明

just is a command runner that reads recipes from a justfile. It provides a convenient way to save and run project-specific commands. Syntax is inspired by make but focused on running commands rather than building. Recipes can be written in any language.

参数

--list
List available recipes.
--show _recipe_
Show recipe source code.
-f, --justfile _file_
Use specified justfile.
--choose
Select recipe interactively.
--dry-run
Print commands without executing.
-q, --quiet
Suppress output.

FAQ

What is the just.1 command used for?

just is a command runner that reads recipes from a justfile. It provides a convenient way to save and run project-specific commands. Syntax is inspired by make but focused on running commands rather than building. Recipes can be written in any language.

How do I run a basic just.1 example?

Run `just` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does --list do in just.1?

List available recipes.