agentuity-cli-cloud-sandbox-cp
Copy files or directories to or from a sandbox. Requires authentication. Use for Agentuity cloud platform operations
安装与使用
请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。
查看来源 ↗使用指南技能说明
Cloud Sandbox Cp
Copy files or directories to or from a sandbox
Prerequisites
- Authenticated with
agentuity auth login - Organization context required (
--org-idor default org)
Usage
agentuity cloud sandbox cp <source> <destination> [options]
Arguments
| Argument | Type | Required | Description |
|---|---|---|---|
<source> |
string | Yes | - |
<destination> |
string | Yes | - |
Options
| Option | Type | Required | Default | Description |
|---|---|---|---|---|
--timeout |
string | Yes | - | Operation timeout (e.g., "5m", "1h") |
--recursive |
boolean | No | false |
Copy directories recursively |
Examples
Copy a local file to a sandbox:
bunx @agentuity/cli cloud sandbox cp ./local-file.txt snbx_abc123:/path/to/file.txt
Copy a file from a sandbox to local:
bunx @agentuity/cli cloud sandbox cp snbx_abc123:/path/to/file.txt ./local-file.txt
Copy a local directory to a sandbox recursively:
bunx @agentuity/cli cloud sandbox cp --recursive ./local-dir snbx_abc123:/path/to/dir
Copy a directory from a sandbox to local recursively:
bunx @agentuity/cli cloud sandbox cp -r snbx_abc123:/path/to/dir ./local-dir
Output
Returns JSON object:
{
"source": "string",
"destination": "string",
"bytesTransferred": "number",
"filesTransferred": "number"
}
| Field | Type | Description |
|---|---|---|
source |
string | Source path |
destination |
string | Destination path |
bytesTransferred |
number | Number of bytes transferred |
filesTransferred |
number | Number of files transferred |
使用示例
查看来源仓库中的使用示例与配置说明。
查看来源 ↗来源历史
- 收录时间
- 2026-01-20
- 索引更新时间
- 2026-01-26
- Branch
- main
收录与同步日期属于本站记录。源码修改历史请查看来源仓库。
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!