mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-29 03:56:51 -05:00
cli: allow reading exec server token from env variable (#200079)
This commit is contained in:
@@ -223,7 +223,7 @@ pub struct CommandShellArgs {
|
||||
#[clap(long, num_args = 0..=1, default_missing_value = "0")]
|
||||
pub on_port: Option<u16>,
|
||||
/// Require the given token string to be given in the handshake.
|
||||
#[clap(long)]
|
||||
#[clap(long, env = "VSCODE_CLI_REQUIRE_TOKEN")]
|
||||
pub require_token: Option<String>,
|
||||
/// Optional parent process id. If provided, the server will be stopped when the process of the given pid no longer exists
|
||||
#[clap(long, hide = true)]
|
||||
|
||||
Reference in New Issue
Block a user