Skip to main content

Crate zerodds_monitor_cli

Crate zerodds_monitor_cli 

Source
Expand description

zerodds-monitor-cli library — argument parsing for the zerodds-monitor Binary.

Crate zerodds-monitor-cli. Safety classification: COMFORT. User-facing Monitoring-CLI; backend lives in zerodds-monitor.

The tool uses the backend in crates/monitor/ (published as zerodds-monitor). The separation between tool and backend crate is needed so both consumers (library user and CLI user) resolve unambiguously.

Structs§

ServeArgs
Arguments for serve.
SnapshotArgs
Arguments for snapshot.

Enums§

Command
Sub-command of the monitor CLI.
ParseError
Parse error.
SnapshotFormat
Snapshot-Output-Format.

Constants§

DEFAULT_ADDR
Default listen address for monitor serve.
DEFAULT_DURATION_SECS
Default Snapshot-Duration.

Functions§

parse_args
Parses the args slice (without argv[0]) into a Command.