mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-07 11:11:23 +00:00
refactor: rename to openclaw
This commit is contained in:
@@ -15,30 +15,30 @@ type CommandOptions = Record<string, unknown>;
|
||||
|
||||
const SANDBOX_EXAMPLES = {
|
||||
main: [
|
||||
["moltbot sandbox list", "List all sandbox containers."],
|
||||
["moltbot sandbox list --browser", "List only browser containers."],
|
||||
["moltbot sandbox recreate --all", "Recreate all containers."],
|
||||
["moltbot sandbox recreate --session main", "Recreate a specific session."],
|
||||
["moltbot sandbox recreate --agent mybot", "Recreate agent containers."],
|
||||
["moltbot sandbox explain", "Explain effective sandbox config."],
|
||||
["openclaw sandbox list", "List all sandbox containers."],
|
||||
["openclaw sandbox list --browser", "List only browser containers."],
|
||||
["openclaw sandbox recreate --all", "Recreate all containers."],
|
||||
["openclaw sandbox recreate --session main", "Recreate a specific session."],
|
||||
["openclaw sandbox recreate --agent mybot", "Recreate agent containers."],
|
||||
["openclaw sandbox explain", "Explain effective sandbox config."],
|
||||
],
|
||||
list: [
|
||||
["moltbot sandbox list", "List all sandbox containers."],
|
||||
["moltbot sandbox list --browser", "List only browser containers."],
|
||||
["moltbot sandbox list --json", "JSON output."],
|
||||
["openclaw sandbox list", "List all sandbox containers."],
|
||||
["openclaw sandbox list --browser", "List only browser containers."],
|
||||
["openclaw sandbox list --json", "JSON output."],
|
||||
],
|
||||
recreate: [
|
||||
["moltbot sandbox recreate --all", "Recreate all containers."],
|
||||
["moltbot sandbox recreate --session main", "Recreate a specific session."],
|
||||
["moltbot sandbox recreate --agent mybot", "Recreate a specific agent (includes sub-agents)."],
|
||||
["moltbot sandbox recreate --browser --all", "Recreate only browser containers."],
|
||||
["moltbot sandbox recreate --all --force", "Skip confirmation."],
|
||||
["openclaw sandbox recreate --all", "Recreate all containers."],
|
||||
["openclaw sandbox recreate --session main", "Recreate a specific session."],
|
||||
["openclaw sandbox recreate --agent mybot", "Recreate a specific agent (includes sub-agents)."],
|
||||
["openclaw sandbox recreate --browser --all", "Recreate only browser containers."],
|
||||
["openclaw sandbox recreate --all --force", "Skip confirmation."],
|
||||
],
|
||||
explain: [
|
||||
["moltbot sandbox explain", "Show effective sandbox config."],
|
||||
["moltbot sandbox explain --session agent:main:main", "Explain a specific session."],
|
||||
["moltbot sandbox explain --agent work", "Explain an agent sandbox."],
|
||||
["moltbot sandbox explain --json", "JSON output."],
|
||||
["openclaw sandbox explain", "Show effective sandbox config."],
|
||||
["openclaw sandbox explain --session agent:main:main", "Explain a specific session."],
|
||||
["openclaw sandbox explain --agent work", "Explain an agent sandbox."],
|
||||
["openclaw sandbox explain --json", "JSON output."],
|
||||
],
|
||||
} as const;
|
||||
|
||||
@@ -68,7 +68,7 @@ export function registerSandboxCli(program: Command) {
|
||||
.addHelpText(
|
||||
"after",
|
||||
() =>
|
||||
`\n${theme.muted("Docs:")} ${formatDocsLink("/cli/sandbox", "docs.molt.bot/cli/sandbox")}\n`,
|
||||
`\n${theme.muted("Docs:")} ${formatDocsLink("/cli/sandbox", "docs.openclaw.ai/cli/sandbox")}\n`,
|
||||
)
|
||||
.action(() => {
|
||||
sandbox.help({ error: true });
|
||||
|
||||
Reference in New Issue
Block a user