From 25c10f3ab23590ec32157aaf97a94d15272fc15d Mon Sep 17 00:00:00 2001 From: Julio Biason Date: Mon, 21 Jun 2021 13:09:01 -0300 Subject: [PATCH] Make the code compile again --- src/args/mod.rs | 6 +++++- src/main.rs | 4 ++-- src/storage/mod.rs | 4 ++-- 3 files changed, 9 insertions(+), 5 deletions(-) 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;