leo clean
To clean the build directory, run:
leo clean
console output:
Leo 🧹 Cleaned the build directory (in "...")
Workspace Behavior
When run inside a workspace:
- From workspace root: Cleans build artifacts for all members.
- From a member directory: Cleans only that member.
- With
--package <NAME>: Cleans only the specified member.
# Clean all workspace members
leo clean
# Clean only the swap member
leo clean -p swap