Skip to main content

Module cli

Module cli 

Source
Expand description

wire CLI surface.

Every subcommand emits human-readable text by default and structured JSON when --json is passed. Stable JSON shape is part of the API contract — see docs/AGENT_INTEGRATION.md.

Subcommand split:

  • agent-safe: whoami, peers, verify, send, tail — pure message-layer ops, no trust establishment.
  • trust-establishing: init, pair-host, pair-join. The CLI uses interactive y/N prompts here. The MCP equivalents (wire_init, wire_pair_initiate, wire_pair_join, wire_pair_check, wire_pair_confirm) preserve the human gate by requiring the user to type the 6 SAS digits back into chat — see docs/THREAT_MODEL.md T10/T14.

Structs§

Cli
Top-level CLI.
DoctorCheck
One DoctorCheck = one verdict on one health dimension.

Enums§

Command
DiagAction
ProfileAction
ResponderCommand
ServiceAction

Functions§

run
Entry point — parse and dispatch.