agentuity avatar

agentuity-cli-cloud-env-pull

Pull environment variables from cloud to local .env file. Requires authentication. Use for Agentuity

by agentuity|Open Source

Cloud Env Pull

Pull environment variables from cloud to local .env file

Prerequisites

  • Authenticated with agentuity auth login
  • Project context required (run from project directory or use --project-id)
  • cloud deploy

Usage

agentuity cloud env pull [options]

Options

OptionTypeRequiredDefaultDescription
--forcebooleanNofalseoverwrite local values with cloud values

Examples

Run pull command:

bunx @agentuity/cli env pull

Use force option:

bunx @agentuity/cli env pull --force

Output

Returns JSON object:

{
  "success": "boolean",
  "pulled": "number",
  "path": "string",
  "force": "boolean"
}
FieldTypeDescription
successbooleanWhether pull succeeded
pullednumberNumber of items pulled
pathstringLocal file path where variables were saved
forcebooleanWhether force mode was used