nmarshall's picture
formats: add txt conversion cli
18d65b9
Raw History Blame Contribute Delete
318 Bytes
fn main() -> std::process::ExitCode {
match nanobrush_cli::run(std::env::args_os().skip(1), &mut std::io::stdout().lock()) {
Ok(()) => std::process::ExitCode::SUCCESS,
Err(e) => {
eprintln!("{e}");
std::process::ExitCode::from(if e.usage { 2 } else { 1 })
}
}
}