2021-06-08 15:18:56 +02:00
|
|
|
use structopt::StructOpt;
|
|
|
|
use std::path::PathBuf;
|
|
|
|
|
|
|
|
#[derive(Debug, StructOpt)]
|
|
|
|
struct Options {
|
|
|
|
#[structopt(short, long, default_value = "/etc/noise-server/config.toml")]
|
|
|
|
config: PathBuf,
|
|
|
|
|
|
|
|
#[structopt(short, long, default_value = "/var/lib/noise-server/noise-server.sqlite")]
|
|
|
|
database_path: PathBuf,
|
|
|
|
}
|
|
|
|
|
2021-04-06 19:42:24 +02:00
|
|
|
fn main() {
|
2021-06-08 15:18:56 +02:00
|
|
|
let options = Options::from_args();
|
2021-04-06 19:42:24 +02:00
|
|
|
}
|