Usage
bengal.site.clean [OPTIONS]
Options
| Option | Type | Description |
|---|---|---|
--cache
flag
|
BOOLEAN |
Also remove build cache (.bengal/ directory) |
--all
flag
|
BOOLEAN |
Remove everything (output + cache) |
--config
|
PATH |
Path to config file (default: bengal.toml) |
--force, -f
flag
|
BOOLEAN |
Skip confirmation prompt |
--stale-server
flag
|
BOOLEAN |
Clean up stale 'bengal serve' processes |
Arguments
| Argument | Type | Description |
|---|---|---|
source
|
PATH |
Default:.
|
Examples
bengal clean # Clean output only
bengal clean --cache # Clean output and cache
bengal clean --stale-server # Clean up stale server processes