use structopt::StructOpt;
#[derive(Debug, StructOpt)]
pub struct Options {
#[structopt(long, short = "s", default_value = "::", env = "SERVER_HOST")]
pub host: String,
#[structopt(long, short = "p", default_value = "80", env = "SERVER_PORT")]
pub port: u16,
#[structopt(long, short = "r", default_value = "./public", env = "SERVER_ROOT")]
pub root: String,
#[structopt(long, short = "c", default_value = "gzip", env = "SERVER_COMPRESSION")]
pub compression: String,
#[structopt(long, short = "l", default_value = "error", env = "SERVER_LOG_LEVEL")]
pub log_level: String,
}