agentree 0.1.0

A safety-oriented local CLI for isolated Git worktree tasks
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use std::ffi::OsString;

use agentree::app::Application;

fn main() {
    let args: Vec<OsString> = std::env::args_os().collect();
    let exit = match Application::dispatch(args) {
        Ok(code) => code,
        Err(error) => {
            eprintln!("{}", error.render());
            error.exit_code()
        }
    };
    std::process::exit(exit);
}