|
@@ -152,6 +152,22 @@ pub enum Commands {
|
|
|
command: Vec<String>,
|
|
command: Vec<String>,
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
|
|
+ /// Build Docker image for a recipe on a remote node
|
|
|
|
|
+ Build {
|
|
|
|
|
+ #[arg(long, required = true, help = "Recipe name")]
|
|
|
|
|
+ recipe: String,
|
|
|
|
|
+
|
|
|
|
|
+ #[arg(long, required = true, help = "Node to build on (e.g. dgx1.lan)")]
|
|
|
|
|
+ build_node: String,
|
|
|
|
|
+
|
|
|
|
|
+ #[arg(long, default_value = "auto", help = "Cluster name")]
|
|
|
|
|
+ cluster: String,
|
|
|
|
|
+
|
|
|
|
|
+ /// Force rebuild even if checksum matches.
|
|
|
|
|
+ #[arg(long, default_value = "false")]
|
|
|
|
|
+ force_build: bool,
|
|
|
|
|
+ },
|
|
|
|
|
+
|
|
|
/// Power on/off nodes via Home Assistant (smart plugs / Wake-on-LAN).
|
|
/// Power on/off nodes via Home Assistant (smart plugs / Wake-on-LAN).
|
|
|
Power {
|
|
Power {
|
|
|
#[command(subcommand)]
|
|
#[command(subcommand)]
|