mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 10:18:54 +00:00
Fix/firezone id handling (#2958)
fixes #2651 Wip because firezone portal doesn't handle names longer than 8 characters yet cc @AndrewDryga
This commit is contained in:
@@ -34,10 +34,10 @@ pub struct CommonArgs {
|
||||
default_value = "wss://api.firezone.dev"
|
||||
)]
|
||||
pub api_url: Url,
|
||||
/// Identifier generated by the portal to identify and display the device.
|
||||
#[arg(short = 'i', long, env = "FIREZONE_ID")]
|
||||
pub firezone_id: String,
|
||||
/// Token generated by the portal to authorize websocket connection.
|
||||
#[arg(env = "FIREZONE_TOKEN")]
|
||||
pub token: String,
|
||||
/// Friendly name to display in the UI
|
||||
#[arg(short = 'n', long, env = "FIREZONE_NAME")]
|
||||
pub firezone_name: Option<String>,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user