extern crate aocf;
use aocf::Aoc;
fn main() {
let mut aoc = Aoc::new()
.year(Some(2019))
.day(Some(1))
.cookie_file("./examples/cookie")
.init()
.unwrap();
let input = if let Ok(i) = aoc.get_input(false) {
i
} else {
"you probably need to add a valid cookie".to_string()
};
println!("{}", input);
}