Skip to content

Commit 0546092

Browse files
archer884ekzhang
andauthored
Expose local port as env value (#132)
Co-authored-by: Eric Zhang <[email protected]>
1 parent 7fec970 commit 0546092

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main.rs

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ enum Command {
1414
/// Starts a local proxy to the remote server.
1515
Local {
1616
/// The local port to expose.
17+
#[clap(env = "BORE_LOCAL_PORT")]
1718
local_port: u16,
1819

1920
/// The local host to expose.

0 commit comments

Comments
 (0)