Print version at startup

This commit is contained in:
2025-07-29 03:40:15 -07:00
parent 208df18fe4
commit ffd977b6d5

View File

@@ -34,6 +34,8 @@ use futures::future::join_all;
use warp::Filter;
async fn run() -> anyhow::Result<()> {
info!("{} v{} starting...", env!("CARGO_PKG_NAME"), env!("CARGO_PKG_VERSION"));
let config_path = env::args()
.nth(1)
.ok_or_else(|| anyhow!("Config file should be passed as only parameter"))?;