pub enum Commands {
Show 22 variants
Version,
Completions {
shell: Shell,
},
Status,
Modules {
quarantined: bool,
},
Metrics {
history: bool,
},
Sessions(SessionsArgs),
Connections {
type: Option<ConnectionType>,
},
Logs(LogsArgs),
Restart {
wait: bool,
timeout: Option<u64>,
interval: Option<u64>,
},
Wait(WaitArgs),
Doctor {
check_write: bool,
webdev_route: Option<String>,
},
Project(ProjectArgs),
Resource(ResourceArgs),
Webdev(WebdevArgs),
Tags(TagsArgs),
Rig(RigArgs),
Backup(BackupArgs),
Eam(EamArgs),
Script(ScriptArgs),
Lint(LintArgs),
Profile(ProfileArgs),
Tui,
}Variants§
Version
Print version information (CLI always; gateway check when a profile resolves)
Completions
Generate shell completions (bash, zsh, fish, …) — the one stdout exception
Status
Gateway status: identity, platform, uptime, license (incl. trial countdown)
Modules
List gateway modules (healthy by default)
Metrics
Gateway performance metrics (current gauges + thread counts)
Sessions(SessionsArgs)
List gateway sessions (designers, Perspective, Vision) — or
terminate one via the terminate subcommand
Connections
List database/OPC connections with healthcheck status as reported
Fields
type: Option<ConnectionType>Filter to one connection family (default: both)
Logs(LogsArgs)
Query, tail, and download gateway logs; manage logger levels
Restart
Restart the gateway — destructive, refused without –yes; –wait polls until RUNNING
Fields
Wait(WaitArgs)
Wait for a gateway state (readiness, restart completion, module)
Doctor
Diagnose the gateway setup: URL, liveness, commissioning, auth, permissions, write, WebDev route, rig — exits 0 whenever the diagnosis completes (failing checks are data)
Fields
Project(ProjectArgs)
Manage gateway projects: list with inheritance info, new, copy, rename, set (reparent), delete, export/import (ZIP)
Resource(ResourceArgs)
Manage a project’s individual resources: list, get, put, delete — the surgical edit loop (change one view/script without re-importing everything)
Webdev(WebdevArgs)
Manage the CLI’s own WebDev routes on the gateway: deploy the embedded bundle, verify the version handshake
Tags(TagsArgs)
Tag operations: manage providers (native REST) and browse /
read / write tag values (the deployed WebDev routes — run
ign webdev deploy first)
Rig(RigArgs)
Manage a Docker compose rig: up/down/reset/status/logs/trial (snapshot arrives in a later plan) — docker-only, no profile needed
Backup(BackupArgs)
Manage gateway backups (gwbk) on any profiled gateway: download (streamed) and restore (guarded)
Eam(EamArgs)
EAM task orchestration (Enterprise Administration Module): history/definitions reads, guarded task create + force — every verb honestly reports the controller-mode state gate
Script(ScriptArgs)
Run gateway-side Python (Jython) through the secret-gated
scriptExec route — the opt-in is STRUCTURAL (ign webdev deploy --with-script-exec deploys the route + persists its
secret); there is no –yes on this verb by design
Lint(LintArgs)
Lint local project files by delegating to ignition-lint (PATH discovery) — doctor posture: findings are DATA, exit 0 whenever the tool ran; –strict passes the tool’s exit code through for CI
Profile(ProfileArgs)
Manage gateway profiles
Tui
Interactive TUI cockpit
Trait Implementations§
Source§impl FromArgMatches for Commands
impl FromArgMatches for Commands
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
ArgMatches to self.Source§fn update_from_arg_matches_mut<'b>(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut<'b>( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
ArgMatches to self.Source§impl Subcommand for Commands
impl Subcommand for Commands
Source§fn augment_subcommands<'b>(__clap_app: Command) -> Command
fn augment_subcommands<'b>(__clap_app: Command) -> Command
Source§fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§fn has_subcommand(__clap_name: &str) -> bool
fn has_subcommand(__clap_name: &str) -> bool
Self can parse a specific subcommand