clean Command
The clean command is used to remove temporary artifacts related to Bruin.
It currently:
- cleans the cached virtualenv directories inside
~/.bruindirectory - removes the
logsdirectory from the project root
Usage
bash
bruin clean [path-to-project-root]path-to-project-root (optional): Specifies the path to the root of the project. If omitted, the current directory (.) is used as the default.
Example
Cleaning the current directory
bash
bruin cleanOutput:

Flags
| Flag | Type | Default | Description |
|---|---|---|---|
--uv-cache | str | - | clean uv caches |
Adding the flag uv-cache will remove all cached uv packages and metadata that were stored during previous installs or dependency resolutions. You will be prompted to confirm whether you want to proceed:
bash
"Are you sure you want to clean uv cache? (y/N): "