CLI Reference
Commands
bab list
List all available tasks.
bash
bab listAliases: ls, tasks
bab <task>
Execute a task.
bash
bab build
bab dev:startTasks with dependencies run them first automatically.
bab completion <shell>
Generate shell completion script.
bash
# Bash
source <(bab completion bash)
# Zsh
source <(bab completion zsh)
# Fish
bab completion fish > ~/.config/fish/completions/bab.fishSupported shells: bash, zsh, fish, powershell
Flags
-n, --dry-run
Preview commands without executing.
bash
bab build --dry-run-v, --verbose
Show detailed execution logs.
bash
bab build --verbose--version
Show version information.
bash
bab --version-h, --help
Show help.
bash
bab --help
bab list --helpExit Codes
| Code | Meaning |
|---|---|
0 | Success |
1 | Error |