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§
- Serve
Args - Arguments for
serve. - Snapshot
Args - Arguments for
snapshot.
Enums§
- Command
- Sub-command of the monitor CLI.
- Parse
Error - Parse error.
- Snapshot
Format - Snapshot-Output-Format.
Constants§
- DEFAULT_
ADDR - Default listen address for
monitor serve. - DEFAULT_
DURATION_ SECS - Default Snapshot-Duration.
Functions§
- parse_
args - Parses the
argsslice (withoutargv[0]) into aCommand.