Accept disk path(s) to display usage of specified disk / multiple disks #286
Labels
area/config
Has something to do with the configuration mechanism.
type/feature
Request a new feature.
I have most of the code for this feature done, but I'll wait for the
libmacchina
crate to be updated to8.0.0
so it can accept the paths.My current approach is to add a new option called
disks
which can be used like this in the config:Or like this as an argument:
--disks '/,/home/user/'
Note that the
show
option ofDiskSpace
would still be required, as otherwisedisks
won't do anything. I did it this way to avoid a rewrite of how theshow
values are currently handled. The other way I thought of doing this was makingshow
into an array of tables but that seems overly complicated and it's a breaking change to everyone's configs. What do you think of the approach I took / did I maybe miss a simpler approach?The text was updated successfully, but these errors were encountered: