mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-29 18:12:52 +00:00
refactor: rename to openclaw
This commit is contained in:
@@ -233,7 +233,7 @@ export function registerExecApprovalsCli(program: Command) {
|
||||
.addHelpText(
|
||||
"after",
|
||||
() =>
|
||||
`\n${theme.muted("Docs:")} ${formatDocsLink("/cli/approvals", "docs.molt.bot/cli/approvals")}\n`,
|
||||
`\n${theme.muted("Docs:")} ${formatDocsLink("/cli/approvals", "docs.openclaw.ai/cli/approvals")}\n`,
|
||||
);
|
||||
|
||||
const getCmd = approvals
|
||||
@@ -326,18 +326,18 @@ export function registerExecApprovalsCli(program: Command) {
|
||||
"after",
|
||||
() =>
|
||||
`\n${theme.heading("Examples:")}\n${formatExample(
|
||||
'moltbot approvals allowlist add "~/Projects/**/bin/rg"',
|
||||
'openclaw approvals allowlist add "~/Projects/**/bin/rg"',
|
||||
"Allowlist a local binary pattern for the main agent.",
|
||||
)}\n${formatExample(
|
||||
'moltbot approvals allowlist add --agent main --node <id|name|ip> "/usr/bin/uptime"',
|
||||
'openclaw approvals allowlist add --agent main --node <id|name|ip> "/usr/bin/uptime"',
|
||||
"Allowlist on a specific node/agent.",
|
||||
)}\n${formatExample(
|
||||
'moltbot approvals allowlist add --agent "*" "/usr/bin/uname"',
|
||||
'openclaw approvals allowlist add --agent "*" "/usr/bin/uname"',
|
||||
"Allowlist for all agents (wildcard).",
|
||||
)}\n${formatExample(
|
||||
'moltbot approvals allowlist remove "~/Projects/**/bin/rg"',
|
||||
'openclaw approvals allowlist remove "~/Projects/**/bin/rg"',
|
||||
"Remove an allowlist pattern.",
|
||||
)}\n\n${theme.muted("Docs:")} ${formatDocsLink("/cli/approvals", "docs.molt.bot/cli/approvals")}\n`,
|
||||
)}\n\n${theme.muted("Docs:")} ${formatDocsLink("/cli/approvals", "docs.openclaw.ai/cli/approvals")}\n`,
|
||||
);
|
||||
|
||||
const allowlistAdd = allowlist
|
||||
|
||||
Reference in New Issue
Block a user