init
ancla init
Section titled “ancla init”Link this directory to an Ancla workspace/project/env/service
Synopsis
Section titled “Synopsis”Initialize (link) the current directory to an Ancla service.
This interactive command walks you through selecting a workspace, project, environment, and service, then saves the link context to a local .ancla/config.yaml file. Subsequent commands run from this directory will automatically use the linked workspace, project, env, and service without requiring explicit arguments.
ancla init [flags]Examples
Section titled “Examples” ancla init ancla init # re-link to a different serviceOptions
Section titled “Options” -h, --help help for initOptions 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