agentuity-cli-cloud-sandbox-rmdir
从沙盒中删除目录。需要认证。用于Agentuity云平台操作。
📖 中文导读:从沙盒中删除目录。需要认证。用于Agentuity云平台操作。 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。
name: agentuity-cli-cloud-sandbox-rmdir description: Remove a directory from a sandbox. Requires authentication. Use for Agentuity cloud platform operations version: "0.1.2" license: Apache-2.0 allowed-tools: "Bash(agentuity:*)" argument-hint: " " metadata: command: "agentuity cloud sandbox rmdir" tags: "slow requires-auth"
Cloud Sandbox Rmdir
Remove a directory from a sandbox
Prerequisites
- Authenticated with
agentuity auth login - Organization context required (
--org-idor default org)
Usage
agentuity cloud sandbox rmdir <sandboxId> <path> [options]
Arguments
| Argument | Type | Required | Description |
|---|---|---|---|
<sandboxId> |
string | Yes | - |
<path> |
string | Yes | - |
Options
| Option | Type | Required | Default | Description |
|---|---|---|---|---|
--recursive |
boolean | No | false |
Remove directory and all contents |
Examples
Remove an empty directory from the sandbox:
bunx @agentuity/cli cloud sandbox rmdir sbx_abc123 /path/to/dir
Remove a directory and all its contents recursively:
bunx @agentuity/cli cloud sandbox rmdir sbx_abc123 /path/to/dir -r
Output
Returns JSON object:
{
"success": "boolean",
"path": "string"
}
| Field | Type | Description |
|---|---|---|
success |
boolean | - |
path |
string | - |