- Note: This adds a dependency on Crossterm, to set the terminal into raw mode. This could be eliminated by linking the libraries Crossterm uses directly... Or I could embrace Crossterm, and use it for all escape sequences in the terminal, instead of assuming DEC VT500 compatibility.
7 lines
170 B
Rust
7 lines
170 B
Rust
use cl_frontend::{args::Args, cli::CLI};
|
|
use std::error::Error;
|
|
|
|
fn main() -> Result<(), Box<dyn Error>> {
|
|
CLI::from(Args::new().parse().unwrap_or_default()).run()
|
|
}
|