git-explore 0.1.3

A Tool for version control with multi git repo
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use clap::Parser;
use git_explore::*;

fn main() {
    let cli = RepoCli::parse();
    match cli.command {
        Some(Command::List(opt)) => run_list(&opt).unwrap(),
        Some(Command::Init(opt)) => init(&opt).unwrap(),
        Some(Command::Commit(mut opt)) => commit(&mut opt).unwrap(),
        Some(Command::Pull(opt)) => pull(&opt).unwrap(),
        Some(Command::Push(opt)) => push(&opt).unwrap(),
        None => todo!(),
    };
}