Documentation
¶
Overview ¶
Package cli provides internal CLI wiring and command construction for the pulse binary.
Index ¶
- func APICommand() *cli.Command
- func CohortCommand() *cli.Command
- func ConvertCommand() *cli.Command
- func ErrorsCommand() *cli.Command
- func ExamplesCommand() *cli.Command
- func ExportCommand() *cli.Command
- func ImportCommand() *cli.Command
- func MCPCommand() *cli.Command
- func ProfileCommand() *cli.Command
- func ShardCommand() *cli.Command
- func SkillsCommand() *cli.Command
- func SynthCommand() *cli.Command
- func WriteJSONPublic(w io.Writer, data any) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CohortCommand ¶
CohortCommand returns the cohort command group.
func ConvertCommand ¶
ConvertCommand returns the convert command.
func ErrorsCommand ¶ added in v0.5.0
ErrorsCommand returns the errors command group. Two leaves:
- `pulse errors lookup CODE [--json]`
- `pulse errors list [--domain D] [--query Q] [--json]`
Both wrap the errors-package lookup surface. CODE detail (Message + Fixup hints) lives behind the lookup tool rather than the bootstrap manifest, so per-session context stays lean.
func ExamplesCommand ¶ added in v0.5.0
ExamplesCommand returns the examples command group. Two leaves:
- `pulse examples search [--query Q] [--tag T] [--category C] [--json]`
- `pulse examples show NAME [--json]`
Both wrap the embedded request-example library (examples package).
func ExportCommand ¶
ExportCommand returns the export command group.
func ImportCommand ¶
ImportCommand returns the import command group.
func MCPCommand ¶ added in v0.2.0
MCPCommand returns the mcp command leaf. Running it serves the MCP protocol over stdio so AI clients (Claude Desktop, Claude Code, etc.) can discover and call Pulse tools.
func ProfileCommand ¶ added in v0.2.0
ProfileCommand returns the `pulse profile` command group.
func ShardCommand ¶ added in v0.8.0
ShardCommand returns the `pulse shard` command group covering archive create / add / remove / list / compact / verify / extract. Shard mutations use the atomic temp+rename pattern so partial writes never appear at the canonical archive path.
func SkillsCommand ¶
SkillsCommand returns the skills command group.
func SynthCommand ¶ added in v0.2.0
SynthCommand returns the `pulse synth` command group.
Types ¶
This section is empty.