1 2 3 4 5 6 7 8 9 10 11 12 13
extern crate pomodoro; use std::process; use structopt::StructOpt; fn main() { let config = pomodoro::PomodoroConfig::from_args(); if let Err(e) = pomodoro::run(config) { eprintln!("Application error: {}", e); process::exit(1); } }