clear:build
Clear Python bytecode cache and build artifacts from the workspace.
Usage
splent clear:build
Description
Removes all Python bytecode cache and build artifacts across the workspace:
- All
__pycache__/directories (recursively) - All
.pycfiles (recursively) - The
.pytest_cache/directory inside the active product’s modules - The
build/directory at the workspace root
Useful before a clean test run, or when stale bytecode is causing unexpected behaviour after moving or renaming files.
This command has nothing to do with the SPLENT feature cache (.splent_cache/). To manage that, see the cache commands.