Documentation
¶
Overview ¶
Package vcontract is the v CLI domain command-surface contract (v-cli-platform.md §4): the generated, drift-gated manifest a domain emits to dist/v-contract.json, which the `v` umbrella aggregates into its registry (§5). It is built by reflecting the domain's kong command tree (via clikit.BuildSchema), so the manifest can never drift from the real surface.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manifest ¶
type Manifest struct {
Domain string `json:"domain"`
Version string `json:"version"`
ContractVersion string `json:"contractVersion"`
Exits []ExitCode `json:"exits"`
Commands []clikit.SchemaCommand `json:"commands"`
}
Manifest is one domain's contract (§4): its name, the tool SemVer, a contractVersion that bumps only on an incompatible command-surface change (independent of SemVer), the exit-code ladder the surface uses, and the full reflected command tree.
Click to show internal directories.
Click to hide internal directories.