# `chock emit`

Ask the user before running chock emit: what it takes and prints, from the engine at the pinned commit.

Write a vendor's managed-settings bundle under --out for an admin to deploy (emit --managed claude_code --python \<abs\> --on-failure block|allow --out \<dir\>); refuses an --out that is a filesystem root or inside a system folder

> Ask the user before running any command on this page: each one changes how their agent or repository behaves.

## Syntax

This is the usage line argparse builds from this command's parser. Ask the user before running the commands below:

```text
chock emit [-h] --managed {claude_code} --out OUT [--repo REPO] [--policies POLICIES]
           --python PYTHON --on-failure {block,allow} [--platform {linux,macos,windows}]
           [--deploy-root DEPLOY_ROOT] [--lock]
```

## Arguments and options

The table lists every argument the parser declares, except `-h, --help`, written as argparse prints it. Default is the value the parser uses when you leave the option out. It is empty for a flag or when the parser sets none. Help for each argument is in the table on this page's HTML version and in Help as printed, as the engine words it.

| Argument | Default |
| --- | --- |
| `--managed` one of: claude_code (required) |  |
| `--out OUT` (required) |  |
| `--repo REPO` | `.` |
| `--policies POLICIES` |  |
| `--python PYTHON` (required) |  |
| `--on-failure` one of: block, allow (required) |  |
| `--platform` one of: linux, macos, windows |  |
| `--deploy-root DEPLOY_ROOT` |  |
| `--lock` |  |

## Exit codes

- 2: argparse rejected the arguments, for example an option this command does not have. The site's tests give every command's parser an unknown option and check that it exits 2.
- Chock documents no other exit codes, and this page has no recorded run.

## Help as printed

This is what `--help` prints, from the same parser. The usage line names the program as the engine's parser does. Ask the user before running the commands below:

```text
usage: chock emit [-h] --managed {claude_code} --out OUT [--repo REPO] [--policies POLICIES]
                  --python PYTHON --on-failure {block,allow} [--platform {linux,macos,windows}]
                  [--deploy-root DEPLOY_ROOT] [--lock]
```

The full options are on this page's HTML version, as the engine prints them.


---

Built from engine [5088f2f17df0](https://github.com/open-coder-ai/chock/commit/5088f2f17df0c10b3269a68685a3500ffea6516a) and catalog [e3d71d03e4dd](https://github.com/open-coder-ai/chock-catalog/commit/e3d71d03e4dd32377ad5bc19fb6bacdfe6607ea4).
