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.
Add a
-sort=field
flag that should match one of theunused.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.