use std::io::IsTerminal as _; use crossterm::event::{Event, KeyCode, KeyEventKind, KeyModifiers}; use crossterm::style::{Attribute, SetAttribute}; use crossterm::{cursor, execute, terminal}; use serde::Serialize; use crate::client::endpoint::{EndpointCatalog, ProfileId, MAX_LABEL_BYTES}; const HELP: &str = "Usage: herdr machine list [--json] herdr machine status [] [--json] herdr machine reconnect herdr machine add [--label