mochi trust rule add
Add a rule, replacing any rule with the same pattern
shell
mochi trust rule add <workspace> allow|ask <pattern> [flags]Examples
shell
mochi trust rule add api allow 'build *'
mochi trust rule add api ask 'deploy *'Options
| Flag | Type | Description |
|---|---|---|
-h, --help | help for add | |
-o, --output | string | Output format: text or json (default "text") |
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 rule — Allow or ask for specific tasks within a workspace