pact-broker-cli 0.7.0

A Rust and CLI client for the Pact Broker. Publish and retrieve pacts and verification results.
Documentation
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,
    }
}