-
Notifications
You must be signed in to change notification settings - Fork 0
Running Targets
Leonard Ramminger edited this page Aug 9, 2026
·
1 revision
A target is the positional argument after options: a task or workflow name registered in build.lua.
beez build
beez ci
beez formatBeez looks up the name in this order:
- Task - if a task with that name exists, run it
- Workflow - otherwise, if a workflow exists, run it
- Not found - exit with an error
If a task and workflow share the same name, the task wins.
| Type | Behavior |
|---|---|
| Task | Runs shell commands and/or step references sequentially |
| Workflow | Runs an ordered sequence of phase+scope pairs (with optional parallel groups) |
See Core Concepts for how tasks and workflows are defined.
If the name is not found:
Error: name not found in registry
When a similar task or workflow name exists (edit distance within a small threshold), Beez suggests:
Did you mean 'build'?
Suggestions only consider task and workflow names, not step names.
Flags apply to the whole run:
beez build --verbose
beez ci --no-cache -j 4
beez deploy --dry-runFlag order relative to the target does not matter:
beez --verbose build
beez build --verbose| Form | Runs |
|---|---|
beez build |
Named task or workflow |
beez -p compile:code |
All steps for that phase+scope |
beez -s compile |
One step by name |
If you pass -s or -p, the positional target is ignored for execution (list/step/phase modes take priority). See CLI Overview.
Task (shell only):
task("hello", "echo hello")beez helloWorkflow:
workflow("ci", {
{ phase = "test", scope = "unit" },
{ phase = "lint", scope = "default" },
})beez ci- Filtering by Phase - run by phase instead of workflow name
- Running a Single Step - run one step
- Listing Entities - see what targets exist
Quick Reference · Glossary · FAQ
- Fundamentals
- Core Concepts
- Project Layout
- First Pipeline
- Phases and Scopes
- How Phases and Scopes Work
- Selecting with Phases and Scopes
- Designing Phases and Scopes
- Parallel Execution and Dependencies
- Configuration
- Configuration Overview
- Global User Config
- Project Config
- Environment Variables
- Performance Settings
- Cache Settings
- Config Reference
- CLI
- CLI Overview
- Running Targets
- Filtering by Phase
- Running a Single Step
- Listing Entities
- Output and Logging Flags
- Cache and Maintenance Flags
- Meta and Utility Commands
-
Project Scaffolding —
beez --init(embedded Tempify) - CLI Flag Reference
- Lua DSL
- DSL Overview
- Plugin System — Plugins, Config DSL, Standard-Workflows
- Step Declaration
- Task Declaration
- Workflow Declaration
- Order Declaration
- Configure Step
- ReqPack Declaration
- Beez API
- Step Context
- DSL Patterns
- Caching
- Caching Overview
- Step Cache
- Success Cache
- Glob Metadata Cache
- Artifact Patterns
- Cache Keys and Invalidation
- Cache Storage and Maintenance
- Caching Troubleshooting
- UI and Output
- Output Modes
- Progress and Animation
- Colors and Themes
- Run Summaries
- Logging and Log Files
- Development and Contribution
- Building and Setup
- Repository Layout
- Testing
- Code Quality
- Feature Development Workflow
- Submitting Changes