/* Appellation: server Contrib: FL03 */ use pzzld_server::{cli::Cli, platform::Platform, Settings}; #[tokio::main] async fn main() -> anyhow::Result<()> { // build the settings let cnf = dbg!(Settings::build()?); // initialize a new context let mut platform = Platform::from_config(cnf).with_tracing().finish(); // parse the command line let cli = dbg!(Cli::new()); // handle the command cli.handle(&mut platform.inner_mut()).await }