Skip to content

Commit

Permalink
update installer (#292)
Browse files Browse the repository at this point in the history
  • Loading branch information
npmenard authored Aug 15, 2024
1 parent 79efda7 commit 63519b7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions micro-rdk-installer/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -85,15 +85,15 @@ struct AppImageArgs {
#[derive(Args)]
struct WriteCredentialsArgs {
/// File path to the JSON config of the robot, downloaded from app.viam.com
#[arg(long = "app-config")]
#[arg(long = "app-config", required = true)]
config: String,
/// File path to the compiled micro-RDK binary. The portion reserved for the NVS
/// data partition will be edited with Wi-Fi and robot credentials
#[arg(long = "binary-path")]
binary_path: String,
/// Wi-Fi SSID to write to NVS partition of binary. If not provided, user will be
/// prompted for it
#[arg(long = "wifi-ssid")]
#[arg(long = "wifi-ssid", required = true)]
wifi_ssid: Option<String>,
/// Wi-Fi password to write to NVS partition of binary. If not provided, user will be
/// prompted for it
Expand All @@ -118,15 +118,15 @@ struct WriteFlashArgs {
binary_path: Option<PathBuf>,

/// File path to the JSON config of the robot, downloaded from app.viam.com
#[arg(long = "app-config")]
#[arg(long = "app-config", required = true)]
config: Option<String>,
/// Version of the compiled micro-RDK server to download (ex. v0.2.3, latest).
/// See https://github.com/viamrobotics/micro-rdk/releases for available versions
#[arg(long = "version", value_parser = validate_version)]
version: Option<String>,
/// Wi-Fi SSID to write to NVS partition of binary. If not provided, user will be
/// prompted for it
#[arg(long = "wifi-ssid")]
#[arg(long = "wifi-ssid", required = true)]
wifi_ssid: Option<String>,
/// Wi-Fi password to write to NVS partition of binary. If not provided, user will be
/// prompted for it
Expand Down

0 comments on commit 63519b7

Please sign in to comment.