Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 0
Quick Reference
Leonard Ramminger edited this page Aug 11, 2026
·
3 revisions
One-page cheat sheet for daily use. See linked pages for full detail.
# Run
beez build # workflow or task named "build"
beez -p compile # all scopes in phase "compile"
beez -p test:unit # phase "test", scope "unit"
beez -s compile # single step by name
beez -j 8 build # limit worker threads# Inspect
beez --list steps # tasks | workflows | steps | phases
beez --show-config
beez --config-options cache.hash.algorithm
# Scaffold (beta; no build.lua — see [[Project Scaffolding]])
beez --init list
beez --init info basic_cpp
beez --init basic_cpp ./my-app --set project_name="My App"# Output
beez --verbose build
beez --silent build
beez --error build
# Cache (--clean-cache and --update need build.lua for the configured cache path)
beez --no-cache build
beez --clean-cache build
beez --update
# Debug
beez build --dry-run
beez -s my-step --verbose
# Dependencies (ReqPack)
beez --install # install all reqpack { ... } packages
beez --install --dry-run # show rqp command only--list > -s / --step > -p / --phase > positional target
| Argument | Meaning |
|---|---|
compile | Phase compile, all scopes (alphabetical) |
compile:code | Phase compile, scope code |
test:unit,integration | Phase test, scopes run sequentially |
generate["code","docs"] | Phase generate, listed scopes |
beez.config(require("config")) -- optionalreqpack {
sys= { "make" },
npm= { { name="typescript", version="5.0.0" } },
}
step({
name="hello",
phase="demo",
scope="default",
run="echo hello",
})
task("hi", "echo hi")
workflow("all", {
{ phase="demo", scope="default" },
})beez -s hello # step named "hello"
beez hi # task "hi"
beez all # workflow "all"step({
name="compile",
phase="build",
scope="default",
input= { "src/**/*.cpp" },
output= { "build/app" },
run="g++ -o build/app src/main.cpp",
})step({
name="process",
phase="build",
scope="default",
run=function(ctx)
localfiles=ctx.glob({ "data/**/*.json" })
-- ...return0-- exit codeend,
})workflow("ci", {
{ parallel= {
{ phase="lint", scope="code" },
{ phase="test", scope="unit" },
}},
{ phase="package", scope="default" },
})return {
performance= { max_threads=8 },
cache= { path=".cache", enabled=true },
ui= {
output_mode="clean",
summary="simple",
logging= { run_log=true },
},
env= {
load_dotenv=true,
vars= { BUILD_TYPE="Release" },
},
}my-project/
build.lua
config.lua -- optional
.env -- optional
.cache/ -- cache + logs (default)
.cache/reqpack/ -- reqpack install fingerprints (when using reqpack { ... })
src/
| Code | Typical cause |
|---|---|
0 | Success, --help, --version |
1 | Command/step failure, parse error, missing target, invalid flags |
- CLI Flag Reference - every flag
- Config Reference - every config key
- DSL Overview - full DSL surface
- ReqPack Declaration - external dependencies
- First Pipeline - guided tutorial
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
- Development and Contribution
- Building and Setup
- Repository Layout
- Testing
- Code Quality
- Feature Development Workflow
- Submitting Changes