mirror of
https://github.com/ouch-org/ouch.git
synced 2025-06-07 12:05:46 +00:00
21 lines
405 B
Rust
21 lines
405 B
Rust
mod cli;
|
|
mod compressors;
|
|
mod decompressors;
|
|
mod dialogs;
|
|
mod error;
|
|
mod evaluator;
|
|
mod extension;
|
|
mod file;
|
|
mod test;
|
|
mod utils;
|
|
|
|
use error::{Error, Result};
|
|
use evaluator::Evaluator;
|
|
|
|
fn main() -> crate::Result<()> {
|
|
let matches = cli::get_matches();
|
|
// let command = cli::Command::try_from(matches)?;
|
|
let (command, _flags) = cli::parse_matches(matches)?;
|
|
Evaluator::evaluate(command)
|
|
}
|