Skip to content

set

Set a configuration variable

ancla config set [ws/proj/env/svc] KEY=value [flags]
ancla config set my-ws/my-proj/staging/my-svc DATABASE_URL=postgres://localhost/mydb
-h, --help help for set
--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 output
--scope string Config scope: workspace, project, env, or service (default "service")