Command Contract
The command contract is a maintainer and integration surface. Most users should start with the generated CLI reference.
mdkg publishes command metadata in the repository build output:
dist/command-contract.jsonReference pages should derive command coverage from that artifact where possible so user docs stay aligned with the CLI.
Reference pages should include:
- command name
- purpose
- usage
- flags
- output formats
- read-only or mutating status
- examples
- related commands
- safety notes
- alpha labels where relevant
Derived docs artifacts:
docs/_generated/cli-reference.mddocs/_generated/command-contract-summary.json
Refresh and check:
npm run docs:generatenpm run docs:check