Skip to content
Snippets Groups Projects
Select Git revision
  • 9329a13d91f8f4ac0026880ad26fa49f245fc185
  • master default protected
  • dev
  • v2.0.0
  • v0.4.0
  • v0.3.0
  • v0.2.9
  • v0.2.8
  • v0.2.7
  • v0.2.6
  • v0.1.0
  • v0.2.5
  • v0.2.4
  • v0.2.3
  • v0.2.2
  • v0.2.1
  • v0.2.0
  • v0.1.2
18 results

training_dataset.nf

Blame
  • main.rs 599 B
    use clap::{Parser, Subcommand};
    
    mod init;
    
    #[derive(Debug, Parser)]
    #[clap(name = "gbl")]
    /// A tool used to link borg and git together
    ///
    /// This tool was created to link borg and git together and ease the management of developpment artifact versionning using git
    struct Cli {
        #[clap(subcommand)]
        commands: Commands,
    }
    
    #[derive(Debug, Subcommand)]
    enum Commands {
        /// Initialize a borg repository inside a git project
        Init,
    }
    
    fn main() {
        let args = Cli::parse();
    
        match args.commands {
            Commands::Init => {
                init::init_repository();
            }
        }
    }