diff --git a/src/bin/steamosctl.rs b/src/bin/steamosctl.rs index 171ae82..2c75845 100644 --- a/src/bin/steamosctl.rs +++ b/src/bin/steamosctl.rs @@ -97,6 +97,11 @@ enum Commands { }, GetWifiPowerManagementState {}, + + UpdateBios {}, + UpdateDock {}, + TrimDevices {}, + FactoryReset {}, } #[tokio::main] @@ -213,6 +218,18 @@ async fn main() -> Result<()> { let state = proxy.wifi_power_management_state().await?; println!("Wifi power management state: {state}"); } + Some(Commands::UpdateBios {}) => { + let _ = proxy.update_bios().await?; + } + Some(Commands::UpdateDock {}) => { + let _ = proxy.update_dock().await?; + } + Some(Commands::FactoryReset {}) => { + let _ = proxy.prepare_factory_reset().await?; + } + Some(Commands::TrimDevices {}) => { + let _ = proxy.trim_devices().await?; + } None => {} }