noise-server/src/main.rs

16 lines
373 B
Rust
Raw Normal View History

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() {
let options = Options::from_args();
2021-04-06 19:42:24 +02:00
}