summaryrefslogtreecommitdiffstats
path: root/cli/src
diff options
context:
space:
mode:
Diffstat (limited to 'cli/src')
-rw-r--r--cli/src/main.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/cli/src/main.rs b/cli/src/main.rs
index 5a77ff4..18d422a 100644
--- a/cli/src/main.rs
+++ b/cli/src/main.rs
@@ -6,6 +6,7 @@ use structopt::StructOpt;
mod model;
+//TODO relative ("yesterday", "-2d", etc)
fn parse_date(s: &str) -> Result<NaiveDate, String> {
NaiveDate::parse_from_str(s, "%Y-%m-%d").map_err(|e| e.to_string())
}
@@ -59,8 +60,6 @@ struct Mn {
command: Command,
}
-// mn insert expense --account Kortkonto --category a --category b
-
fn main() {
let mut store = model::Store::open(PathBuf::from("store")).unwrap();
let args = Mn::from_args();