Add todo module
This commit is contained in:
parent
02029b9b26
commit
63daf452dc
1 changed files with 23 additions and 0 deletions
23
src/module/todo/mod.rs
Normal file
23
src/module/todo/mod.rs
Normal file
|
@ -0,0 +1,23 @@
|
|||
use super::Module;
|
||||
use std::path::Path;
|
||||
|
||||
pub struct TodoModule {
|
||||
path: Option<String>,
|
||||
}
|
||||
|
||||
impl Module for TodoModule {
|
||||
|
||||
fn new(rt : &Runtime) -> TodoModule {
|
||||
TodoModule {
|
||||
path: None
|
||||
}
|
||||
}
|
||||
|
||||
fn name(&self) -> String {
|
||||
"Todo".to_string()
|
||||
}
|
||||
|
||||
fn execute(&self, rt : &Runtime) -> Option<Error> {
|
||||
( )
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue