-
Notifications
You must be signed in to change notification settings - Fork 0
Cache and Maintenance Flags
Leonard Ramminger edited this page Aug 9, 2026
·
1 revision
Flags that control Beez caching and on-disk cache maintenance.
Disables step cache and success cache for one run.
beez build --no-cacheEquivalent to setting cache.enabled = false via config for that invocation.
- Steps always execute (no cache skip)
- Lua success-cache APIs do not skip files
- Does not delete existing cache files
Removes the cache directory (from merged config, default .cache) before the run.
beez --clean-cache
beez --clean-cache buildBehavior:
- Loads
build.luaand merges config - Deletes the cache root recursively
- Prints:
Removed Beez cache: <path> - Runs a target only if you also pass one (
build,-p,-s, etc.)
beez --clean-cache alone clears cache and exits 0 without executing a workflow.
Recompresses on-disk cache files to match current cache.compress settings.
beez --update
beez --update buildBehavior:
- Loads
build.luaand merges config - Migrates cache storage (recompression per active algorithm, level, mode)
- Prints how many files were updated
- Optionally continues to a target if one was given
Use after changing cache.compress in config. Does not invalidate cache keys.
| Situation | Command |
|---|---|
| Force full rebuild | beez build --no-cache |
| Clear stale cache | beez --clean-cache build |
| After compression config change | beez --update |
| CI clean slate | beez --clean-cache && beez ci |
Persistent cache settings: Cache Settings and Configuration.
Caching behavior: Caching Overview.
- CLI Flag Reference
-
Meta and Utility Commands -
--dry-run(also skips cache lookups)
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