use structopt::StructOpt;
#[derive(StructOpt)]
pub struct Cli {
#[structopt(parse(from_os_str), default_value=".")]
pub dir: std::path::PathBuf,
#[structopt(short = "n", long = "name")]
pub name: bool,
#[structopt(short = "c", long = "created")]
pub created: bool,
#[structopt(short = "m", long = "modified")]
pub modified: bool,
#[structopt(short = "s", long = "size")]
pub size: bool,
#[structopt(short = "g", long = "gdf")]
pub gdf: bool,
#[structopt(short = "l", long = "long")]
pub long: bool,
#[structopt(long="time-format", default_value = "%e %b %T")]
pub time_format: String,
}