From 0546092ce011d13c86f5a4176f875015abb580d1 Mon Sep 17 00:00:00 2001 From: J/A Date: Wed, 16 Oct 2024 11:32:35 -0500 Subject: [PATCH] Expose local port as env value (#132) Co-authored-by: Eric Zhang --- src/main.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.rs b/src/main.rs index e08125c..3432c08 100644 --- a/src/main.rs +++ b/src/main.rs @@ -14,6 +14,7 @@ enum Command { /// Starts a local proxy to the remote server. Local { /// The local port to expose. + #[clap(env = "BORE_LOCAL_PORT")] local_port: u16, /// The local host to expose.