link
ancla link
Section titled “ancla link”Associate this directory with a workspace, project, env, or service
Synopsis
Section titled “Synopsis”Associate the current directory with an Ancla workspace, project, environment, or service.
This creates a local .ancla/config.yaml that stores the link context so subsequent commands (status, logs, run, deploy) can infer the target without requiring explicit arguments.
Examples: ancla link my-ws # link to workspace only ancla link my-ws/my-proj # link to workspace and project ancla link my-ws/my-proj/staging # link to workspace, project, and env ancla link my-ws/my-proj/staging/my-svc # link to all four segments
ancla link <ws>[/<proj>[/<env>[/<svc>]]] [flags]Examples
Section titled “Examples” ancla link my-ws/my-proj/staging/my-svcOptions
Section titled “Options” -h, --help help for linkOptions 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