This PR adds a new -add-column flag that can be indicated more than once that allows to add disk metadata in the output.
For the default table view the output is the following (in brackets are those displayed only in verbose mode):
PROVIDER DISK AGE [PROVIDER_META DISK_META]
If you were to call unused -v -add-column=foobar the output now is:
PROVIDER DISK AGE META:foobar [PROVIDER_META DISK_META]
Additional -add-column flags will add a new META:$value column to the output.
In the case of the interactive UI, the main disk list currently only shows the disk name. By passing this column it will add the metadata key and value to the list.
This PR adds a new
-add-column
flag that can be indicated more than once that allows to add disk metadata in the output.For the default table view the output is the following (in brackets are those displayed only in verbose mode):
If you were to call
unused -v -add-column=foobar
the output now is:Additional
-add-column
flags will add a newMETA:$value
column to the output.In the case of the interactive UI, the main disk list currently only shows the disk name. By passing this column it will add the metadata key and value to the list.