aboutsummaryrefslogtreecommitdiff
path: root/src/cli/spec/machine.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/cli/spec/machine.rs')
-rw-r--r--src/cli/spec/machine.rs11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/cli/spec/machine.rs b/src/cli/spec/machine.rs
index 188e27b9..82bc4c5d 100644
--- a/src/cli/spec/machine.rs
+++ b/src/cli/spec/machine.rs
@@ -11,6 +11,17 @@ pub(super) fn command() -> Command {
.arg(json_flag()),
)
.subcommand(
+ Command::new("status")
+ .about("Check saved machines without prompting for authentication")
+ .arg(Arg::new("machine").value_name("LABEL_OR_ID"))
+ .arg(json_flag()),
+ )
+ .subcommand(
+ Command::new("reconnect")
+ .about("Authenticate a saved machine in this terminal and verify connectivity")
+ .arg(Arg::new("machine").value_name("LABEL_OR_ID").required(true)),
+ )
+ .subcommand(
Command::new("add")
.about("Prepare the remote Herdr server and save an SSH machine")
.arg(