use structopt::StructOpt;
use std::path::PathBuf;
#[derive(Debug, StructOpt)]
#[structopt(
name = "Hugo to JSON",
about = "A tool to turn Hugo sites into a JSON representation."
)]
pub struct Settings {
#[structopt(parse(from_os_str))]
pub scan_path: PathBuf,
#[structopt(short = "o", parse(from_os_str))]
pub output: Option<PathBuf>,
#[structopt(long)]
pub drafts: bool,
}