Registry stack documentation: machine-readable Markdown.
Index of all pages: https://docs.registrystack.org/v/0.38.0/llms.txt
Full corpus: https://docs.registrystack.org/v/0.38.0/llms-full.txt

# evidencectl source mock command reference

> Generated syntax and options for evidencectl source mock.

{/* Generated from Clap command definitions by scripts/generate-cli-reference.mjs. Run npm run generate. */}

Generate, inspect, and serve a local synthetic source API.

## Contract status

This page is generated from the public Clap command tree for Registry Stack source version `0.38.0` and catalog SHA-256 `cd13c658f65af295f9df3c6db86dc045ac06e9e040afc1f5f5b27c3184ab653d`. Hidden implementation commands are omitted.

## Usage

```text
evidencectl source mock [OPTIONS] <COMMAND>
```

## Commands

| Command | Description |
| --- | --- |
| [`serve`](./serve/) | Serve schema-valid synthetic responses from OpenAPI or exact edited cases |
| [`generate`](./generate/) | Materialize or extend editable mock cases from OpenAPI |
| [`check`](./check/) | Validate edited configuration and response bodies without writing or binding |

## Options

| Option | Always required | Default | Values | Environment | Description |
| --- | --- | --- | --- | --- | --- |
| `--format <output_format>` | No | `human` | `human`, `json`, `junit` | n/a | Select human-readable or machine-readable output. `junit` is accepted only by fixture runs (`test` and `fixtures run`) |
| `-h, --help` | No | n/a | n/a | n/a | Print help |

## Generation contract

Run `npm run generate` from `docs/site` after changing a public command, argument, option, default, environment binding, or help description.