run
ancla run
Section titled “ancla run”Run a local command with the service’s config vars injected
Synopsis
Section titled “Synopsis”Execute a command locally with the linked service’s configuration variables injected as environment variables.
Requires a fully linked directory (workspace/project/env/service) or an explicit service path argument. Fetches all non-secret configuration variables from the API and passes them as environment variables to the specified command.
ancla run [ws/proj/env/svc] -- <command> [args...] [flags]Examples
Section titled “Examples” ancla run -- python manage.py migrate ancla run my-ws/my-proj/staging/my-svc -- env | grep DATABASEOptions
Section titled “Options” -h, --help help for runOptions inherited from parent commands
Section titled “Options inherited from parent commands” --api-key string API key for authentication --config string config file (default: ~/.ancla/config.yaml) --json Shorthand for --output json -o, --output string Output format: table or json (default "table") -q, --quiet Suppress non-essential outputSEE ALSO
Section titled “SEE ALSO”- ancla - Ancla CLI — manage your Ancla PaaS deployments