From 9eb9fc898de69022617245949763b3e12b08cc88 Mon Sep 17 00:00:00 2001 From: Guillaume Lagrange Date: Wed, 4 Jun 2025 17:33:33 +0200 Subject: [PATCH] feat: allow setting upload url via env var for convenience --- src/run/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/run/mod.rs b/src/run/mod.rs index 22f7d29d..9a32386e 100644 --- a/src/run/mod.rs +++ b/src/run/mod.rs @@ -41,7 +41,7 @@ fn show_banner() { #[derive(Args, Debug)] pub struct RunArgs { /// The upload URL to use for uploading the results, useful for on-premises installations - #[arg(long)] + #[arg(long, env = "CODSPEED_UPLOAD_URL")] pub upload_url: Option, /// The token to use for uploading the results,