mirror of
https://github.com/qwjyh/xdbm
synced 2025-07-17 03:59:19 +09:00
new subcommand: backup list
- todo: fancy print
This commit is contained in:
parent
d947dd35e0
commit
ff32996360
6 changed files with 221 additions and 11 deletions
|
@ -154,7 +154,17 @@ pub(crate) enum BackupSubCommands {
|
|||
cmd: BackupAddCommands,
|
||||
},
|
||||
/// Print configured backups.
|
||||
List {},
|
||||
/// Filter by src/dest storage or device.
|
||||
List {
|
||||
#[arg(long)]
|
||||
src: Option<String>,
|
||||
#[arg(long)]
|
||||
dest: Option<String>,
|
||||
#[arg(long)]
|
||||
device: Option<String>,
|
||||
#[arg(short, long)]
|
||||
long: bool,
|
||||
},
|
||||
/// Record xdbm that the backup with the name has finished right now.
|
||||
Done {
|
||||
/// Name of the backup config.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue