name: agentuity-cli-cloud-env-pull description: Pull environment variables from cloud to local .env.production file. Requires authentication. Use for Agentuity cloud platform operations version: "0.0.104" license: Apache-2.0 allowed-tools: "Bash(agentuity:*)" metadata: command: "agentuity cloud env pull" tags: "slow requires-auth requires-project"
Cloud Env Pull
Pull environment variables from cloud to local .env.production 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
| Option | Type | Required | Default | Description |
|---|---|---|---|---|
--force | boolean | No | false | overwrite 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"
}
| Field | Type | Description |
|---|---|---|
success | boolean | Whether pull succeeded |
pulled | number | Number of items pulled |
path | string | Local file path where variables were saved |
force | boolean | Whether force mode was used |