Download crates/nanobrush-cli/src/main.rs from nmarshall/nanobrush: direct link, hf CLI and curl.
- Browser
- Download file 318 Bytes
-
https://huggingface.co/nmarshall/nanobrush/resolve/main/crates/nanobrush-cli/src/main.rs
- Command line
-
hf download hf://nmarshall/nanobrush/crates/nanobrush-cli/src/main.rs
-
curl -L -o main.rs https://huggingface.co/nmarshall/nanobrush/resolve/main/crates/nanobrush-cli/src/main.rs
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 }) | |
| } | |
| } | |
| } | |