From 8c380aa3aecd9a2ccafa791c0b744576ce9148c0 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Fri, 11 Mar 2016 09:45:20 +0100 Subject: [PATCH] Start implementing "list" --- imag-counter/src/list.rs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/imag-counter/src/list.rs b/imag-counter/src/list.rs index 9a9721df..2a4759fb 100644 --- a/imag-counter/src/list.rs +++ b/imag-counter/src/list.rs @@ -1,5 +1,10 @@ use libimagrt::runtime::Runtime; pub fn list(rt: &Runtime) { - unimplemented!(); + rt.cli() + .subcommand_matches("list") + .map(|scmd| { + debug!("Found 'list' subcommand..."); + + }); }