stub into add, reconcile, edit, dump
This commit is contained in:
@@ -15,6 +15,11 @@ pub fn main() {
|
|||||||
.expect("failed to add");
|
.expect("failed to add");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if flags.add.is_some() || flags.edit {
|
||||||
|
reconcile(flags.files().expect("couldnt find files from flags"))
|
||||||
|
.expect("failed to reconcile");
|
||||||
|
}
|
||||||
|
|
||||||
if flags.edit {
|
if flags.edit {
|
||||||
edit(flags.files().expect("couldnt find files from flags")).expect("failed to edit");
|
edit(flags.files().expect("couldnt find files from flags")).expect("failed to edit");
|
||||||
}
|
}
|
||||||
@@ -110,6 +115,10 @@ fn add(files: Vec<String>, add: String, add_schedule: Option<String>) -> Result<
|
|||||||
Err("not impl".to_string())
|
Err("not impl".to_string())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
fn reconcile(files: Vec<String>) -> Result<(), String> {
|
||||||
|
Err("not impl".to_string())
|
||||||
|
}
|
||||||
|
|
||||||
fn edit(files: Vec<String>) -> Result<(), String> {
|
fn edit(files: Vec<String>) -> Result<(), String> {
|
||||||
Err("not impl".to_string())
|
Err("not impl".to_string())
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user