diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2020-01-01 20:05:58 +0100 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2020-01-01 20:07:53 +0100 |
commit | 7597551609cc6e10b6f8af3c899249c8a006963a (patch) | |
tree | 28c5f4fe8ea0b95d0413c609925e3eb4822e373d /bin/core/imag-ref/src/lib.rs | |
parent | 24342c37ec2c6826e0d8b18b38f6ea4383178419 (diff) |
Diffstat (limited to 'bin/core/imag-ref/src/lib.rs')
-rw-r--r-- | bin/core/imag-ref/src/lib.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/bin/core/imag-ref/src/lib.rs b/bin/core/imag-ref/src/lib.rs index bc41110f..22a096bd 100644 --- a/bin/core/imag-ref/src/lib.rs +++ b/bin/core/imag-ref/src/lib.rs @@ -76,6 +76,7 @@ impl ImagApplication for ImagRef { "create" => create(&rt), "remove" => remove(&rt), "list-dead" => list_dead(&rt), + "move" => do_move(&rt), other => { debug!("Unknown command"); if rt.handle_unknown_subcommand("imag-ref", other, rt.cli())?.success() { @@ -208,6 +209,12 @@ fn list_dead(rt: &Runtime) -> Result<()> { .collect() } +fn do_move(rt: &Runtime) -> Result<()> { + let cfg = get_ref_config(&rt, "imag-ref")?; + let cmd = rt.cli().subcommand_matches("move").unwrap(); // safe by main() + +} + fn create(_rt: &Runtime) -> Result<()> { unimplemented!() } |