use structopt::StructOpt;
#[derive(Debug, StructOpt)]
#[structopt(name = "classify")]
pub struct ApplicationArguments {
#[structopt(subcommand)]
pub command: Command,
}
#[derive(Debug, StructOpt)]
pub enum Command {
#[structopt(name = "mysql")]
Mysql(Sql),
#[structopt(name = "postgres")]
Postgres(Sql),
#[structopt(name = "export")]
Export,
}
#[derive(Debug, StructOpt)]
pub struct Sql {
#[structopt(short = "f", default_value = "./reverse.yml")]
pub file: String,
#[structopt(short = "p", default_value = "templates/*")]
pub template_path: String,
#[structopt(short = "n", default_value = "base.tera")]
pub template_name: String,
#[structopt(short = "c", default_value = "./default.json")]
pub custom_field_type: String,
#[structopt(short = "s", default_value = "rs")]
pub suffix: String,
}