mirror of https://github.com/ekzhang/bore.git
Expose local port as env value (#132)
Co-authored-by: Eric Zhang <ekzhang1@gmail.com>
This commit is contained in:
parent
7fec9700c4
commit
0546092ce0
|
@ -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.
|
||||||
|
|
Loading…
Reference in New Issue