1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
use std::path::PathBuf;
use structopt::StructOpt;
#[derive(StructOpt, Debug)]
#[structopt(name = env!("CARGO_PKG_NAME"), about = env!("CARGO_PKG_DESCRIPTION"))]
pub struct Opt {
#[structopt(short, long, parse(from_os_str))]
pub source: Option<PathBuf>,
#[structopt(short, long, parse(from_os_str))]
pub destination: Option<PathBuf>,
#[structopt(short, long, parse(from_os_str))]
pub config: Option<PathBuf>,
#[structopt(short, long)]
pub write: bool,
}