stub edit
This commit is contained in:
@@ -6,6 +6,10 @@ use std::io::{BufRead, Read, Write};
|
|||||||
pub fn main() {
|
pub fn main() {
|
||||||
let flags = Flags::new().expect("failed to flags");
|
let flags = Flags::new().expect("failed to flags");
|
||||||
|
|
||||||
|
if let Some(add) = flags.add {
|
||||||
|
panic!("not impl: add {}", add);
|
||||||
|
}
|
||||||
|
|
||||||
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");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user