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 -sort flag #7

Open
inkel opened this issue Apr 29, 2022 · 0 comments
Open

cmd/unused: add -sort flag #7

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

Comments

@inkel
Copy link
Collaborator

inkel commented Apr 29, 2022

Add a -sort=field flag that should match one of the unused.ByFunc functions. Currently we only support sorting by provider name, disk name, and disk creation date.

Stretch: consider also adding a ByMeta function that allow passing a metadata key to be used for sorting.

@inkel inkel added the enhancement New feature or request label Apr 29, 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

No branches or pull requests

1 participant