main
Bel LaPointe 2023-11-27 16:00:09 -07:00
parent 38e6e19d7b
commit b2df61a235
1 changed files with 5 additions and 1 deletions

View File

@ -4,6 +4,7 @@ use std::fs::File;
use std::time::{SystemTime, UNIX_EPOCH, Duration};
use std::ops::{Add, Sub};
use clap::Parser;
use std::collections::HashMap;
#[derive(Debug, Parser)]
struct Flags {
@ -64,7 +65,10 @@ fn log(f: &String, since: &Option<String>) -> Result<(), String> {
let since = parse_time(since)?;
let tsheet = load(&f)?;
let tsheet = tsheet.since(since);
println!("{:?}", tsheet);
let mut logs = HashMap::new();
for &x in &tsheet.xs {
}
println!("{:?}", logs);
Err("not impl".to_string())
}