lldap/src/main.rs

17 lines
348 B
Rust
Raw Normal View History

2021-03-02 19:51:33 +00:00
use anyhow::Result;
use log::*;
2021-03-02 19:13:58 +00:00
mod infra;
2021-03-02 19:51:33 +00:00
fn main() -> Result<()> {
2021-03-02 19:13:58 +00:00
let cli_opts = infra::cli::init();
2021-03-02 19:51:33 +00:00
let config = infra::configuration::init(cli_opts.clone())?;
infra::logging::init(config.clone())?;
info!("Starting....");
debug!("Config: {:?}", config);
debug!("CLI: {:?}", cli_opts);
info!("End.");
Ok(())
2021-03-02 11:45:30 +00:00
}