Expand description
CLI module — clap Parser types and subcommand dispatch for the symforge binary.
Subcommands:
symforge init — configure Claude, Codex, or both
symforge analytics <cmd> — inspect or reset local analytics storage
symforge hook <subcommand> — hook scripts called by Claude Code
symforge daemon — shared project/session backend
symforge trust project-config — audit, accept, or revoke project-config trust
symforge update — update the npm-managed SymForge install
Plan 03 wires these into main.rs and handles the top-level dispatch.
Modules§
- analytics
- hook
- Hook binary logic — reads the OS-tagged
.symforge/sidecar.<os>.port, calls the sidecar over sync HTTP, and outputs a single JSON line to stdout. - init
symforge initcommand — client-aware Claude/Claude Desktop/Codex/Gemini/Kilo Code configuration.- trust
- CLI control surface for project-config trust.
- update
- Explicit npm-managed self-update command.
- version
- Version output with a best-effort npm update advisory.
Structs§
- Cli
- Top-level CLI parser for the
symforgebinary.
Enums§
- Commands
- Top-level subcommands.
- Hook
Subcommand - Hook subcommands — one per Claude Code tool event type.
- Init
Client - Supported
symforge inittargets.