bforge 0.1.0

A decentralized source-code installer that maps files from remote git repositories into your project structure.
Documentation
use bforge::{
    cli::{Cli, Commands},
    commands,
};
use clap::Parser;
use colored::Colorize;

fn main() {
    let cli = Cli::parse();
    match &cli.command {
        Commands::Init => {
            commands::handle_init();
        }
        bforge::cli::Commands::Add {
            repo,
            item,
            force: _force,
        } => {
            let res = commands::handle_add(repo, item);
            if let Err(e) = res {
                eprintln!("{} {}", "Error:".red(), e);
            }
        }
    }
}