# workroom trust

> Approve a project's setup and teardown scripts so Workroom runs them.

<!-- Generated from the workroom binary's commands by `make docs-cli`. Don't edit by hand. -->

## Synopsis

Approve the setup and teardown scripts a create or delete would run next, by their exact contents. In a terminal each one is shown first and you are asked. A changed script needs approving again. A script git ignores in the project's root needs no approval. With --pretend it fetches nothing, and warns that the start it judges may be out of date.

Runs on a Mac only, and fails with `MacOnly` elsewhere.

Only a person may run it. Under a coding agent, such as Claude Code or Codex, it is refused with NeedsTheUser and changes nothing, on a Mac or elsewhere, before anything else is checked: the agent asks you to do it in the Workroom app or in your own terminal. That stops a confused coding agent, not a determined one.

```text
workroom trust
```

## Options

```text
  -h, --help[=true|false]   help for trust
      --project string      Project directory (defaults to the current directory)
```

## Options inherited from parent commands

```text
      --json[=true|false]      Emit machine-readable JSON (exactly one object on stdout)
  -p, --pretend[=true|false]   Run through the command without making changes (dry run)
  -v, --verbose[=true|false]   Print detailed and verbose output
```

## See also

* [workroom](/docs/cli/workroom.md)	 - Manage development workrooms
* [workroom trust status](/docs/cli/workroom-trust-status.md)	 - Say whether a project's setup and teardown scripts are approved
