Skip to main content

Module cli

Module cli 

Source
Expand description

CLI module — clap Parser types and subcommand dispatch for the symforge binary.

Subcommands: symforge init — configure Claude, Codex, or both symforge hook <subcommand> — hook scripts called by Claude Code symforge daemon — shared project/session backend

Plan 03 wires these into main.rs and handles the top-level dispatch.

Modules§

hook
Hook binary logic — reads .symforge/sidecar.port, calls sidecar over sync HTTP, and outputs a single JSON line to stdout.
init
symforge init command — client-aware Claude/Codex/Gemini/Kilo Code configuration.

Structs§

Cli
Top-level CLI parser for the symforge binary.

Enums§

Commands
Top-level subcommands.
HookSubcommand
Hook subcommands — one per Claude Code tool event type.
InitClient
Supported symforge init targets.