Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmd/unused: add -filter flag #6

Closed
inkel opened this issue Apr 29, 2022 · 0 comments · Fixed by #8
Closed

cmd/unused: add -filter flag #6

inkel opened this issue Apr 29, 2022 · 0 comments · Fixed by #8
Labels
enhancement New feature or request

Comments

@inkel
Copy link
Collaborator

inkel commented Apr 29, 2022

Add a -filter=key=value flag to cmd/unused that allows filtering disks by metadata. This could be passed several times to indicate more than filter.

Change this will also imply adding a unused#Meta.Match(key, value string) bool function or similar.

@inkel inkel added the enhancement New feature or request label Apr 29, 2022
@inkel inkel closed this as completed in #8 May 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant