diff options
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!() } |