flutter_cache_cleaner 0.1.3
flutter_cache_cleaner: ^0.1.3 copied to clipboard
A cross-platform CLI utility to safely clean Flutter project build artifacts and global dependency caches
Changelog #
All notable changes to this project will be documented in this file.
0.1.3 - 2026-02-11 #
Added #
- Auto-update from pub.dev when running from a global install: the CLI checks for a newer version and, if available, updates and re-runs the same command
- Global flag
--no-update-checkto skip the update check (e.g. in CI or offline) - Dependency on
pub_updaterfor version check and update
Changed #
- Version used by the update check is defined in
lib/version.dart; keep in sync withpubspec.yamlwhen releasing
0.1.2 - 2026-01-22 #
Added #
- Enhanced verbose output with real-time progress tracking
- Progress indicators showing current operation and project counts
- Timing information for major operations (scanning, analysis, cleaning)
- Detailed logging throughout core operations:
- Project detection progress (directories scanned, projects found)
- Cache target analysis with per-project progress (X/Y projects)
- Cleaning progress with per-target deletion status
- Global cache size calculation progress
- New verbose helper methods in BaseCommand:
printVerboseProgress()for ongoing operationsprintVerboseStep()for step-by-step operationsprintVerboseTiming()for timing informationgetVerboseLogger()for passing to core classes
Improved #
- Verbose output now provides comprehensive feedback during long-running operations
- Better visibility into what the tool is doing at each stage
- More informative error context in verbose mode
0.1.1 - 2026-01-13 #
Fixed #
- Fixed argument parsing bug where command-specific options (--root, --include-defaults, etc.) were not recognized
- Fixed issue where global parser was rejecting unknown options before passing them to command parsers
- Improved argument parsing to correctly handle global flags both before and after command name
0.1.0 - 2025-12-20 #
Added #
- Initial release
- Scan command to discover Flutter projects and cache files
- Clean command to remove cache files safely
- Doctor command to show environment information
- Priority path scanning
- Support for per-project and global cache targets
- Cross-platform support (macOS, Linux, Windows)