Expand description
CLI command tree for the openlatch binary.
This module defines the full clap command structure, global flags, noun-verb aliasing, and the helper for resolving output configuration from parsed CLI args.
§Command grammar
Primary verbs: init, status, start, stop, restart, logs, doctor,
uninstall, docs
Noun-verb aliases: hooks install → init, hooks uninstall → uninstall,
daemon start → start, daemon stop → stop, daemon restart → restart
Modules§
- color
- Terminal color and TTY detection for the CLI.
- commands
- output
- Output formatting infrastructure for the
openlatchCLI.
Structs§
- Cli
- The top-level CLI struct parsed by clap.
- Init
Args - Arguments for the
initsubcommand. - Logs
Args - Arguments for the
logssubcommand. - Start
Args - Arguments for the
startsubcommand. - Uninstall
Args - Arguments for the
uninstallsubcommand.
Enums§
- Commands
- Top-level subcommands.
- Daemon
Commands - Subcommands under
openlatch daemon. - Hooks
Commands - Subcommands under
openlatch hooks. - Output
Format - Output format selection.
Functions§
- build_
output_ config - Resolve the parsed CLI flags into a single
OutputConfig. - suggest_
subcommand - Suggest the closest known subcommand for an unknown input string.