Configuration

CLI Configuration — WoWSQL Docs

CLI Configuration

Config files, profiles, and output formats

Config File

The CLI configuration file is located at ~/.wowsql/config.yaml. Here's an example configuration:

# ~/.wowsql/config.yaml
api_url: https://api.wowsql.com
current_profile: default
profiles:
  default:
    api_url: https://api.wowsql.com
  production:
    api_url: https://api.wowsql.com

Using Profiles

Use a specific profile for a command:

wowsql --profile production projects list

Switch Default Profile

Change the default profile:

wowsql auth switch-profile production

Output Formats

Set the default output format globally:

wowsql --output json projects list

Per-Command Format

Specify output format for a single command:

wowsql projects list --format yaml

Available formats: json, yaml, table (default).