delete_un_used_assets 1.0.1 copy "delete_un_used_assets: ^1.0.1" to clipboard
delete_un_used_assets: ^1.0.1 copied to clipboard

A command line tool to delete un used assets

The delete_un_used_assets package provides a concrete way of deleting assets using Dart code.

Installation #

Put it under [dev_dependencies], in your [pubspec.yaml].

dev_dependencies:
    delete_un_used_assets: [latest-version]

Usage #

After running the command line at the bottom, it will search within the assets folder of your project for any unused file within your project, then it will be deleted from this folder and moved to a new folder deleted_assets in the root of your project with keeping track of deleted files.

Built-in Commands #

In your project root directory, run the following command:

flutter pub run delete_un_used_assets:start <assetsPath>

The available arg is assetsPath

  • assetsPath: if you want to specify the path of the assets folder, you can do it by passing the path, but the default value is assets.
5
likes
130
pub points
86%
popularity

Publisher

unverified uploader

A command line tool to delete un used assets

Repository (GitHub)
View/report issues

Documentation

API reference

License

AGPL-3.0 (LICENSE)

Dependencies

collection, path

More

Packages that depend on delete_un_used_assets