Skip to content

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 ​

FlagTypeDescription
-h, --helphelp for add
-o, --outputstringOutput format: text or json (default "text")

Options inherited from parent commands ​

FlagTypeDescription
-L, --log-levelstringLog verbosity level (debug, info, fatal) (default "info")
--syncSync flow cache and workspaces

See also ​