Add list()

This commit is contained in:
Matthias Beyer 2016-03-10 20:28:45 +01:00
parent c040f3d3e5
commit 44287d2162
2 changed files with 8 additions and 0 deletions

5
imag-counter/src/list.rs Normal file
View file

@ -0,0 +1,5 @@
use libimagrt::runtime::Runtime;
pub fn list(rt: &Runtime) {
unimplemented!();
}

View file

@ -17,12 +17,14 @@ use libimagutil::key_value_split::IntoKeyValue;
mod create; mod create;
mod delete; mod delete;
mod interactive; mod interactive;
mod list;
mod ui; mod ui;
use ui::build_ui; use ui::build_ui;
use create::create; use create::create;
use delete::delete; use delete::delete;
use interactive::interactive; use interactive::interactive;
use list::list;
enum Action { enum Action {
Inc, Inc,
@ -126,6 +128,7 @@ fn main() {
"create" => create(&rt), "create" => create(&rt),
"delete" => delete(&rt), "delete" => delete(&rt),
"interactive" => interactive(&rt), "interactive" => interactive(&rt),
"list" => list(&rt),
_ => { _ => {
debug!("Unknown command"); // More error handling debug!("Unknown command"); // More error handling
}, },