update storage list and some refactor

This commit is contained in:
qwjyh 2024-03-03 06:11:25 +09:00
parent ff72228821
commit 24f34da588
10 changed files with 257 additions and 51 deletions

View file

@ -57,7 +57,11 @@ pub(crate) enum StorageCommands {
path: Option<PathBuf>,
},
/// List all storages.
List {},
List {
/// Show note on the storages.
#[arg(short, long)]
long: bool,
},
/// Make `storage` available for the current device.
/// For physical disk, the name is taken from system info automatically.
Bind {