diff --git a/build.rs b/build.rs index 4ca162b..e4e63f5 100644 --- a/build.rs +++ b/build.rs @@ -62,6 +62,30 @@ fn vento() -> Result { .long("--undo") .help("Undoes the last action"), ) + .flag( + Flag::new() + .short("-e") + .long("--export-inv") + .help("Exports an inventory"), + ) + .flag( + Flag::new() + .short("-E") + .long("--export-dir") + .help("Exports the Vento directory"), + ) + .flag( + Flag::new() + .short("-g") + .long("--import-inv") + .help("Imports an inventory archive"), + ) + .flag( + Flag::new() + .short("-G") + .long("--import-dir") + .help("Imports a Vento directory archive"), + ) .flag( Flag::new() .short("-i") diff --git a/src/help.rs b/src/help.rs index 2350e62..b6f4f09 100644 --- a/src/help.rs +++ b/src/help.rs @@ -30,6 +30,10 @@ pub fn vento() -> Result<()> { - {}: Lists files in selected inventory - {}: Switches slots - {}: Undoes the last action + - {}: Exports an inventory + - {}: Exports the Vento directory + - {}: Imports an inventory archive + - {}: Imports a Vento directory archive - {}: Initializes Vento - {}: Displays this message", "Vento".bold().blue(), @@ -39,6 +43,14 @@ pub fn vento() -> Result<()> { .green(), "vento ( -c | --switch )".bold().green(), "vento ( -u | --undo )".bold().green(), + "vento ( -e | --export-inv ) [ slot ] [ output ]" + .bold() + .green(), + "vento ( -E | --export-dir ) [ output ]".bold().green(), + "vento ( -g | --import-inv ) [ input ] [ slot ]" + .bold() + .green(), + "vento ( -G | --import-dir ) [ input ]".bold().green(), "vento ( -i | --init )".bold().green(), "vento ( -h | --help )".bold().green() );