CLI Options
jake [OPTIONS] [RECIPE] [ARGS...]Arguments
Section titled “Arguments”| Argument | Description |
|---|---|
RECIPE | Recipe to run (default: first recipe or @default) |
ARGS | Recipe arguments in name=value format |
Options
Section titled “Options”| Option | Short | Description |
|---|---|---|
--help | -h | Show help message |
--version | -V | Show version |
--list | -l | List available recipes |
--dry-run | -n | Print commands without executing |
--verbose | -v | Show verbose output |
--yes | -y | Auto-confirm all @confirm prompts |
--jakefile PATH | -f | Use specified Jakefile |
--watch [PATTERN] | -w | Watch and re-run on changes |
--jobs [N] | -j | Parallel jobs (default: CPU count) |
Examples
Section titled “Examples”# Run default recipejake
# Run specific recipejake build
# Run with verbose outputjake test --verbose
# Pass parametersjake deploy env=production
# Run with 4 parallel jobsjake -j4 all
# Watch and rebuildjake -w build
# Dry-run (show what would execute)jake -n deploy
# Use different Jakefilejake -f build.jake test
# Auto-confirm promptsjake -y deployExit Codes
Section titled “Exit Codes”| Code | Meaning |
|---|---|
| 0 | Success |
| 1 | Recipe failed |
| 2 | Recipe not found |
| 3 | Jakefile not found |
| 4 | Parse error |
Environment Variables
Section titled “Environment Variables”| Variable | Description |
|---|---|
JAKE_FILE | Default Jakefile path |
NO_COLOR | Disable colored output |