diff --git a/src/bin/ch-remote.rs b/src/bin/ch-remote.rs index b04b156b0..9d61ca998 100644 --- a/src/bin/ch-remote.rs +++ b/src/bin/ch-remote.rs @@ -429,7 +429,25 @@ fn main() { ), ) .subcommand(SubCommand::with_name("resume").about("Resume the VM")) - .subcommand(SubCommand::with_name("shutdown").about("Shutdown the VM")); + .subcommand(SubCommand::with_name("shutdown").about("Shutdown the VM")) + .subcommand( + SubCommand::with_name("snapshot") + .about("Create a snapshot from VM") + .arg( + Arg::with_name("snapshot_config") + .index(1) + .help(""), + ), + ) + .subcommand( + SubCommand::with_name("restore") + .about("Restore VM from a snapshot") + .arg( + Arg::with_name("restore_config") + .index(1) + .help(""), + ), + ); let matches = app.get_matches();