Expose local port as env value (#132)

Co-authored-by: Eric Zhang <ekzhang1@gmail.com>
This commit is contained in:
J/A 2024-10-16 11:32:35 -05:00 committed by GitHub
parent 7fec9700c4
commit 0546092ce0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -14,6 +14,7 @@ enum Command {
/// Starts a local proxy to the remote server. /// Starts a local proxy to the remote server.
Local { Local {
/// The local port to expose. /// The local port to expose.
#[clap(env = "BORE_LOCAL_PORT")]
local_port: u16, local_port: u16,
/// The local host to expose. /// The local host to expose.