git-project 0.2.0

Manage piles of git repositories with ease!
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use git_project::{err::Err, options::Options};
use std::process;
use structopt::StructOpt;

fn main() {
    let opts = Options::from_args();

    if let Err(e) = git_project::run(&opts) {
        eprintln!("{}", e);

        if let Err::SubcommandFailed(Some(code)) = e {
            process::exit(code);
        }

        process::exit(1);
    }
}