cchp-gen

command
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2026 License: MIT Imports: 18 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Command cchp-gen builds everything cchp derives from the pinned CCHP spec:

  • internal/assets/catalog.json.gz operation index for discovery, help and policy
  • internal/assets/schemas.json.gz bundled request and response JSON Schemas
  • internal/assets/engine-spec.json.gz the spec the embedded Restish engine loads
  • docs/coverage.md every upstream operation with its outcome

Inputs are spec/upstream/control-plane.yaml (never edited), spec/cli-overlay.yaml (an OpenAPI Overlay with CLI names and English text), spec/operation-policy.yaml and spec/source.lock.json. With -check it regenerates in memory and fails when a committed output differs or an operation has no explained outcome.

Jump to

Keyboard shortcuts

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