outline-core 0.2.0

Image background removal with flexible mask processing options
Documentation
mod cli;
mod commands;
#[cfg(feature = "fetch-model")]
mod model_fetch;
mod report;

use std::process::ExitCode;

fn main() -> ExitCode {
    match try_main() {
        Ok(()) => ExitCode::SUCCESS,
        Err(err) => {
            report::report_error(&err);
            ExitCode::FAILURE
        }
    }
}

fn try_main() -> outline::OutlineResult<()> {
    let cli = cli::Cli::parse();
    commands::run(cli)
}