Add list()
This commit is contained in:
parent
c040f3d3e5
commit
44287d2162
2 changed files with 8 additions and 0 deletions
5
imag-counter/src/list.rs
Normal file
5
imag-counter/src/list.rs
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
use libimagrt::runtime::Runtime;
|
||||||
|
|
||||||
|
pub fn list(rt: &Runtime) {
|
||||||
|
unimplemented!();
|
||||||
|
}
|
|
@ -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
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue