clean Command (Pro)
🚧 Coming soon!
The clean
command will be available in Vibesweep Pro to automatically remove detected code waste with confidence.
Planned Features
- Safe removal of dead code with dependency checking
- Consolidation of duplicate functions into shared utilities
- Import optimization to remove unused imports
- Batch operations with rollback support
- Dry-run mode to preview changes before applying
- Git integration for automatic commits of cleanup
Example Usage (Coming Soon)
# Remove all safe-to-delete code
vibesweep clean .
# Preview changes without applying
vibesweep clean . --dry-run
# Clean only specific types
vibesweep clean . --only-imports
vibesweep clean . --only-duplicates
# Interactive mode
vibesweep clean . --interactive
Stay tuned for this powerful Pro feature!
Related
- Safe Fix (Beta) - Current auto-fix capabilities
- analyze Command - Detect issues before cleaning