onevcs 0.1.2

Version control and remote-host abstraction for agent workflows: host-neutral change requests, sessions, and a rules system.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! The `onevcs` binary.
//!
//! It parses the command surface `docs/contract.md` declares — so a malformed
//! invocation fails at the boundary with clap's usage error, exit code 2 — and
//! then hands the parsed command to the library, which owns what each one does.
//! One path, so a journey that drives this binary and a caller that embeds the
//! crate cannot disagree about an exit code.

use std::process::ExitCode;

use clap::Parser;
use onevcs::cli::Cli;

fn main() -> ExitCode {
    ExitCode::from(onevcs::run(&Cli::parse()))
}