dbshell
ancla dbshell
Section titled “ancla dbshell”Open an interactive database shell for the service
Synopsis
Section titled “Synopsis”Open an interactive database shell for the linked service.
Connects to the service’s primary database using credentials from the platform. Automatically detects the database type (PostgreSQL, MySQL) and launches the appropriate client (psql, mysql).
ancla dbshell [ws/proj/env/svc] [flags]Examples
Section titled “Examples” ancla dbshell ancla dbshell my-ws/my-proj/staging/my-svcOptions
Section titled “Options” -h, --help help for dbshellOptions 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