===========================================
POP CLEAN
===========================================

Remove generated/cached artifacts

Usage: pop clean
       pop clean <COMMAND>

Commands:
  cache  Remove cached artifacts
  help   Print this message or the help of the given subcommand(s)

Options:
  -h, --help  Print help

===========================================
WHAT IT DOES
===========================================

pop clean:
- Removes target/ directory (build artifacts)
- Removes compiled WASM files
- Removes contract metadata and bundles
- Equivalent to `cargo clean`

pop clean cache:
- Removes Pop CLI cache
- Removes downloaded dependencies
- Removes temporary files

===========================================
USAGE
===========================================

# Clean build artifacts
cd my-contract
pop clean

# Clean Pop CLI cache
pop clean cache

===========================================
WHEN TO USE
===========================================

- Before major releases
- Troubleshooting build errors
- When disk space is low
- After dependency updates

===========================================
EXAMPLES
===========================================

# Clean and rebuild
pop clean
pop build --release

# Clean cache and reinstall
pop clean cache
pop install

# Clean multiple projects
for dir in contracts/*; do
  (cd "$dir" && pop clean)
done

===========================================
NEXT STEPS
===========================================

pop build --release

See: build/contract.txt, build/chain.txt
