cleanbev 1.0.2 copy "cleanbev: ^1.0.2" to clipboard
cleanbev: ^1.0.2 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.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
1
likes
150
points
246
downloads

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.

Homepage

Documentation

API reference

License

MIT (license)

Dependencies

args, file, interact_cli, yaml

More

Packages that depend on cleanbev