Support reading remote server address from an environment variable (#45) (#46)

This commit is contained in:
calfzhou 2022-11-11 13:52:58 +08:00 committed by GitHub
parent 664723cba5
commit f1ed0b2ecb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,7 +22,7 @@ enum Command {
local_host: String,
/// Address of the remote server to expose local ports to.
#[clap(short, long)]
#[clap(short, long, env = "BORE_SERVER")]
to: String,
/// Optional port on the remote server to select.