diff --git a/src/args/mod.rs b/src/args/mod.rs index a2eefe7..03c3f54 100644 --- a/src/args/mod.rs +++ b/src/args/mod.rs @@ -53,7 +53,11 @@ pub fn parse() -> Command { ) .subcommand( SubCommand::with_name("fetch") - .about("Fetch new favourites from this account only") + .about("Fetch new favourites from this account only") + ) + .subcommand( + SubCommand::with_name("sync") + .about("Sync the last seen favourite with the most recent one") ) .subcommand( SubCommand::with_name("storage") diff --git a/src/main.rs b/src/main.rs index 17724d2..6a085bb 100644 --- a/src/main.rs +++ b/src/main.rs @@ -23,8 +23,8 @@ use elefren::prelude::*; mod args; mod config; -// mod filesystem; -// mod storage; +mod filesystem; +mod storage; fn main() { env_logger::init(); diff --git a/src/storage/mod.rs b/src/storage/mod.rs index 1cb83a4..ea0540f 100644 --- a/src/storage/mod.rs +++ b/src/storage/mod.rs @@ -19,6 +19,6 @@ pub mod attachment; pub mod data; pub mod helpers; -pub mod joplin; -pub mod org; +// pub mod joplin; +// pub mod org; pub mod storage;