swiftmade / statamic-clear-assets

Clean up unused images and assets from your Statamic site. Saves storage, keep things tidy.
MIT License
15 stars 4 forks source link

Feature: Configurable asset containers & choice overriding #9

Closed quintenbuis closed 1 year ago

quintenbuis commented 1 year ago

This PR adds the ability to configure the asset containers that need to be cleared and allows overriding of choice in the command for automation purposes.

quintenbuis commented 1 year ago

Fixes #7

quintenbuis commented 1 year ago

@aozisik Are you planning on merging this PR? Would love to see these changes in the project.

aozisik commented 1 year ago

Hi @quintenbuis,

Thank you for your PR. Yes, we want to include your changes. At least functionality wise, if it's not directly merging it. We have something similar cooking over here, which is a bit more complex. Have a look: #8 No clear ETA yet, but it's coming soon 👍

quintenbuis commented 1 year ago

@aozisik Ok! I've got another feature lined up to go after this one. Maybe you could also implement it. Please tak e a look at the following commit i've made: https://github.com/quintenbuis/statamic-clear-assets/commit/984492ea18383c45c34e236faf64982d38013673.

aozisik commented 1 year ago

Handled in #8 .

Thank you @quintenbuis !