2021-01-31 02:54:23 +03:00
|
|
|
pub use structopt::StructOpt;
|
|
|
|
|
|
|
|
#[derive(Debug, StructOpt)]
|
|
|
|
pub(crate) enum AppOpt {
|
|
|
|
Init,
|
2021-01-31 13:41:12 +03:00
|
|
|
Apply(ApplyOpt),
|
|
|
|
}
|
|
|
|
|
|
|
|
#[derive(Debug, StructOpt)]
|
|
|
|
pub(crate) struct ApplyOpt {
|
|
|
|
#[structopt(parse(from_str))]
|
2021-02-01 23:51:23 +03:00
|
|
|
pub file_name: String,
|
2021-01-31 02:54:23 +03:00
|
|
|
}
|