diff options
Diffstat (limited to '')
-rw-r--r-- | src/main.rs | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs index e7a11a9..4d9b703 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,3 +1,14 @@ +extern crate ical; +extern crate chrono; +extern crate chrono_tz; + +use std::env; +mod ics; + fn main() { - println!("Hello, world!"); + let args: Vec<_> = env::args().collect(); + let events = ics::parse(&args[1]).unwrap(); + for event in events { + println!("{}", event); + } } |