build.rs/src/cli.rs

13 lines
282 B
Rust
Raw Normal View History

2020-05-01 10:48:22 +00:00
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")]
2020-05-01 11:19:33 +00:00
pub force: bool,
2020-05-01 10:48:22 +00:00
//#[structopt(def)]
2020-05-01 11:19:33 +00:00
pub tasks: Vec<String>,
2020-05-01 10:48:22 +00:00
}