internal/

directory
v0.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 23, 2026 License: MIT

Directories

Path Synopsis
Package assets embeds the files cmd/cchp-gen generates from the pinned spec.
Package assets embeds the files cmd/cchp-gen generates from the pinned spec.
Package auth stores the management token, binds it to one server and resolves the credential for each run.
Package auth stores the management token, binds it to one server and resolves the credential for each run.
Package catalog holds the pre-parsed operation index that cchp ships inside the binary.
Package catalog holds the pre-parsed operation index that cchp ships inside the binary.
Package cli is cchp's command tree.
Package cli is cchp's command tree.
Package contract defines cchp's machine output: one JSON result object on stdout per run (or NDJSON lines for streams), stable error kinds and exit codes.
Package contract defines cchp's machine output: one JSON result object on stdout per run (or NDJSON lines for streams), stable error kinds and exit codes.
Package engine runs CCHP operations through embedded Restish v2.
Package engine runs CCHP operations through embedded Restish v2.
Package redact is the one redaction policy for everything cchp prints or saves outside an explicit secret destination: debug traces, dry runs, error messages, diagnostics and saved output.
Package redact is the one redaction policy for everything cchp prints or saves outside an explicit secret destination: debug traces, dry runs, error messages, diagnostics and saved output.
Package runner executes one catalog operation end to end: input checks, policy, credentials, the Restish engine, pagination, secrets and downloads.
Package runner executes one catalog operation end to end: input checks, policy, credentials, the Restish engine, pagination, secrets and downloads.
Package selfupdate implements automatic install-method detection and safe self-updating for the cchp CLI.
Package selfupdate implements automatic install-method detection and safe self-updating for the cchp CLI.
Package sitedocs reads the CCHP documentation site through the llms.txt protocol: each language's llms.txt index, its pages as Markdown, the whole language in one llms-full.txt, and the site's full-text search.
Package sitedocs reads the CCHP documentation site through the llms.txt protocol: each language's llms.txt index, its pages as Markdown, the whole language in one llms-full.txt, and the site's full-text search.
Package tui is cchp's interactive home screen for people: a short task list, guided sign-in, searchable lists and plain-language errors.
Package tui is cchp's interactive home screen for people: a short task list, guided sign-in, searchable lists and plain-language errors.
Package ui holds cchp's one restrained palette.
Package ui holds cchp's one restrained palette.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL