use structopt::StructOpt;
#[derive(StructOpt, Debug)]
#[structopt(
name = "mapsd",
about = "Find & Replace text in multiple files using an explicit CSV of Before/After pairs."
)]
pub struct Opt {
#[structopt(name = "FILES")]
pub files: String,
#[structopt(short, long, default_value = "map.csv")]
pub map: String,
#[structopt(short, long, default_value = ",")]
pub delimiter: String,
#[structopt(long)]
pub has_headers: bool,
#[structopt(short, long, default_value = "replaced.")]
pub prefix: String,
#[structopt(long = "DANGEROUSLY-REPLACE-INPLACE")]
pub inplace: bool,
#[structopt(long)]
pub silent: bool,
}