cleanbev 1.0.3 copy "cleanbev: ^1.0.3" to clipboard
cleanbev: ^1.0.3 copied to clipboard

A command-line tool that detects and safely removes unused assets from Dart and Flutter projects. Scans for asset references and prompts for confirmation before deletion.

1.0.3 #

Features #

  • Implement MCP Layer to enable package support with LLM integration for enhanced asset analysis and management on VSCode, Cursor, GitHub Copilot, Claude Desktop, Warp.
  • Added support for --dry-run flag to simulate asset deletion without actually removing files.
  • Added flag --accept-all (-a) to allow users to delete all unused assets without confirmation prompts.
  • Added flag --help (-h) to display usage information and available options.

1.0.2 #

Bug Fixes #

  • Fixed package to executable mapping issue that caused "Executable not found" error when running dart pub global run cleanbev after global activation.

1.0.1 File Filter Improvements #

Features #

  • Improved file filtering to focus on common image formats (png, jpg, jpeg, svg) when checking for unused assets

1.0.0 Initial Release #

Features #

  • Asset Detection: Automatically scans and identifies all asset files in a specified directory
  • Usage Analysis: Searches Dart source files to determine which assets are referenced in code
  • Interactive Deletion: Prompts users for confirmation before deleting each unused asset
  • Custom Asset Path: Support for --assets-path flag to specify custom asset directories
  • Clear Feedback: Displays whether each asset was successfully deleted or kept

Initial Release #

  • Functional command-line interface for detecting unused assets
  • Integration with Dart projects using standard pubspec.yaml asset configuration
  • Safe deletion workflow with user confirmation prompts
3
likes
150
points
41
downloads

Documentation

API reference

Publisher

verified publisherbadrkouki.dev

Weekly Downloads

A command-line tool that detects and safely removes unused assets from Dart and Flutter projects. Scans for asset references and prompts for confirmation before deletion.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

args, file, interact_cli, yaml

More

Packages that depend on cleanbev