aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
blob: 8c82ed16c4b44fe63d8390cf6ddec34e29c5f626 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
use clap::Parser;

/// Create a mirror of a repository
#[derive(Parser, Debug)]
#[command(author, version, about, long_about = None)]
struct Args {
    /// The path to save the repository to
    #[arg(short, long)]
    path: String,

    /// The URL of the repository to clone
    #[arg(short, long)]
    url: String,
}

fn main() {
    let args = Args::parse();
    println!("{:?}", args);
}