taskwarrior/cli/src/bin/ta.rs
Dustin J. Mitchell bb7130f960 Support multiple exit codes
..with more specific error enums.
2021-05-18 18:57:55 +00:00

11 lines
211 B
Rust

use std::process::exit;
pub fn main() {
match taskchampion_cli::main() {
Ok(_) => exit(0),
Err(e) => {
eprintln!("{:?}", e);
exit(e.exit_status());
}
}
}