agentuity avatar

agentuity-cli-cloud-scp-upload

Upload a file using security copy. Requires authentication. Use for Agentuity cloud platform operati

作者 agentuity|オープンソース

Cloud Scp Upload

Upload a file using security copy

Prerequisites

  • Authenticated with agentuity auth login
  • cloud deploy

Usage

agentuity cloud scp upload <source> [destination] [options]

Arguments

ArgumentTypeRequiredDescription
<source>stringYes-
<destination>stringNo-

Options

OptionTypeRequiredDefaultDescription
--identifierstringYes-The project or deployment id to use

Examples

Upload to remote home directory:

bunx @agentuity/cli cloud scp upload ./config.json

Upload to specific path:

bunx @agentuity/cli cloud scp upload ./config.json /app/config.json

Upload to specific project:

bunx @agentuity/cli cloud scp upload ./config.json --identifier=proj_abc123xyz

Upload multiple files:

bunx @agentuity/cli cloud scp upload ./logs/*.log ~/logs/

Output

Returns JSON object:

{
  "success": "boolean",
  "source": "string",
  "destination": "string",
  "identifier": "string"
}
FieldTypeDescription
successbooleanWhether upload succeeded
sourcestringLocal source path
destinationstringRemote destination path
identifierstringProject or deployment identifier