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

# caseworkctl provider add command reference

> Generated syntax and options for caseworkctl provider add.

{/* Generated from crates/registry-cli-docs/catalog.json and the workspace version in Cargo.toml by scripts/generate-cli-reference.mjs. Run npm run generate. */}

Create an approval project from a Base Registry Engine (BReg) Action and print missing configuration.

## Contract status

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

## Usage

```text
caseworkctl provider add [OPTIONS] --breg-project <PROJECT> --action <ACTION> --pattern <PATTERN> <DIRECTORY>
```

## Constraints

| Condition | Requirement |
| --- | --- |
| `--package-output <DIRECTORY>` is present | `--breg-package <DIRECTORY>` is required. |

## Arguments

| Argument | Always required | Default | Values | Environment | Description |
| --- | --- | --- | --- | --- | --- |
| `<DIRECTORY>` | Yes | n/a | n/a | n/a | New Casework directory, or a previously generated project to check without rewriting |

## Options

| Option | Always required | Default | Values | Environment | Description |
| --- | --- | --- | --- | --- | --- |
| `--breg-project <PROJECT>` | Yes | n/a | n/a | n/a | Authored BReg project inspected through its matching bregctl executable |
| `--action <ACTION>` | Yes | n/a | n/a | n/a | Proposal-mode BReg Action to review |
| `--pattern <PATTERN>` | Yes | n/a | `single-reviewer-approval`, `two-peer-approval`, `technical-check-then-authorization` | n/a | Approval stages and outcomes shared with caseworkctl init |
| `--breg-package <DIRECTORY>` | No | n/a | n/a | n/a | Sealed BReg package to pair and compare before packaging Casework |
| `--package-output <DIRECTORY>` | No | n/a | n/a | n/a | Package directory written with a new project; omit to inspect the package without writing it |
| `--bregctl-bin <BINARY>` | No | `bregctl` | n/a | n/a | Matching bregctl executable used for public project and package inspection |
| `--format <FORMAT>` | No | `human` | `human`, `json` | n/a | Write human diagnostics and reports, or one typed JSON report |
| `-h, --help` | No | n/a | n/a | n/a | Print help |

## Generation contract

After changing a public command, argument, option, default, environment binding, or help description, run `cargo run --locked -p registry-cli-docs -- --write`, commit `crates/registry-cli-docs/catalog.json`, then run `npm run generate` from `docs/site`.