1 2 3 4 5 6 7 8 9 10 11
use std::process::ExitCode; mod cli; pub fn main() -> ExitCode { let app = cli::build_cli(); let matches = app.clone().try_get_matches(); match pact_broker_cli::handle_matches(&matches, None) { Ok(_) => ExitCode::SUCCESS, Err(code) => code, } }