flutter_cache_cleaner 0.1.3 copy "flutter_cache_cleaner: ^0.1.3" to clipboard
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-check to skip the update check (e.g. in CI or offline)
  • Dependency on pub_updater for version check and update

Changed #

  • Version used by the update check is defined in lib/version.dart; keep in sync with pubspec.yaml when 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 operations
    • printVerboseStep() for step-by-step operations
    • printVerboseTiming() for timing information
    • getVerboseLogger() 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)
8
likes
150
points
189
downloads

Publisher

unverified uploader

Weekly Downloads

A cross-platform CLI utility to safely clean Flutter project build artifacts and global dependency caches

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

args, collection, io, path, pub_updater

More

Packages that depend on flutter_cache_cleaner