sprawl wipe
📌 1. The Target Problem
When shifting between workstations or removing toolchains, you want to leave no trace of Sprawl configuration settings, virtual environments, or symlinks behind.
⚙️ 2. Usage & Options
sprawl wipe [target_dir] [--force] [--local-only]
Options & Flags
--force: Bypass verification confirmation checks and delete files immediately.--local-only: Only wipe the local workspace.agents/folder, preserving global registries.
🔍 3. How it Works (Under the Hood)
- Deletes the local
.agents/directory inside target workspaces. - Cleans up and removes local editor symlinks and config files.
- Deregisters workspace directories from global databases.
- Deletes the global configurations folder inside
~/.sprawl/(unless--local-onlyis provided).
🩺 4. Troubleshooting
- Wipe does not delete the spraw CLI command itself
- Resolution: Sprawl wipe only deletes settings directories and configs. To remove the binary itself, execute
pipx uninstall sprawl-cli.