build.rs/src/cli.rs

13 lines
274 B
Rust

use structopt::StructOpt;
#[derive(Debug, StructOpt)]
#[structopt(name = "git-build", about = "Update your repositories and trigger tasks")]
pub struct Cli {
#[structopt(short = "f", long = "force")]
force: bool,
//#[structopt(def)]
tasks: Vec<String>,
}