From fefa3647a43fc8fbb412772da15bc226b09e5e5e Mon Sep 17 00:00:00 2001 From: kjuulh Date: Fri, 7 Feb 2025 21:37:20 +0100 Subject: [PATCH] chore: rename service to forest --- crates/forest/src/cli.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/crates/forest/src/cli.rs b/crates/forest/src/cli.rs index 3ab745f..8954ae9 100644 --- a/crates/forest/src/cli.rs +++ b/crates/forest/src/cli.rs @@ -14,7 +14,7 @@ struct Command { #[derive(Subcommand)] enum Commands { Serve { - #[arg(env = "SERVICE_HOST", long, default_value = "127.0.0.1:3000")] + #[arg(env = "FOREST_HOST", long, default_value = "127.0.0.1:3000")] host: SocketAddr, }, } @@ -22,8 +22,8 @@ enum Commands { pub async fn execute() -> anyhow::Result<()> { let cli = Command::parse(); - if let Some(Commands::Serve { host }) = cli.command { - tracing::info!("Starting service"); + if let Some(Commands::Serve { .. }) = cli.command { + tracing::info!("Starting forest server"); let state = SharedState::new().await?; }