---
url: https://docs.mochiexec.io/reference/cli/mochi_trust_rule.md
description: Allow or ask for specific tasks within a workspace
---

# mochi trust rule

Allow or ask for specific tasks within a workspace

## Options

| Flag | Type | Description |
|------|------|-------------|
| `-h, --help` |  | help for rule |

## Options inherited from parent commands

| Flag | Type | Description |
|------|------|-------------|
| `-L, --log-level` | `string` | Log verbosity level (debug, info, fatal) (default "info") |
| `--sync` |  | Sync flow cache and workspaces |

## See also

* [mochi trust](mochi_trust.md) — Manage which workspaces can run tasks without asking
* [mochi trust rule add](mochi_trust_rule_add.md) — Add a rule, replacing any rule with the same pattern
* [mochi trust rule remove](mochi_trust_rule_remove.md) — Remove the rule with a pattern
