stub add, edit, dump
This commit is contained in:
@@ -18,6 +18,8 @@ pub fn main() {
|
|||||||
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");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
dump(flags.files().expect("couldnt find files from flags")).expect("failed to dump");
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Debug, Parser)]
|
#[derive(Debug, Parser)]
|
||||||
@@ -112,6 +114,10 @@ fn edit(files: Vec<String>) -> Result<(), String> {
|
|||||||
Err("not impl".to_string())
|
Err("not impl".to_string())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
fn dump(files: Vec<String>) -> Result<(), String> {
|
||||||
|
Err("not impl".to_string())
|
||||||
|
}
|
||||||
|
|
||||||
mod tests {
|
mod tests {
|
||||||
use super::*;
|
use super::*;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user