add: some printing

This commit is contained in:
2026-03-21 16:39:29 +01:00
parent 0dbc9dcbc1
commit 4fdd2b7134
2 changed files with 8 additions and 2 deletions

View File

@@ -41,10 +41,16 @@ async fn main() -> anyhow::Result<()> {
let conf = if let Some(conf) = File::try_open(&args.conf) {
conf::Config::from_toml_file(&mut conf?)?
} else {
println!(
"\x1b[30;43mWRN\x1b[0m: \x1b[35m{:?}\x1b[0m not found, using default configuration",
args.conf.display()
);
conf::Config::default()
};
println!("{conf:#?}");
// o tsukare su-mmer, awaaai yumeniii shiii oooo-tome, wa, hitoshireeeezu, cryyyyying
// (idek japanese but im vibing)
println!("\n\x1b[1;3;4;33mConfiguration\x1b[0m: {conf:#?}\n");
server::start_app(args, conf).await?;