shift-cli config
Manage CLI configuration.
Usage
shift-cli config get <key>
shift-cli config set <key> <value>
Sub-commands
config get <key>
Read a configuration value.
shift-cli config get gateway-url
# https://app.the-shift.dev
config set <key> <value>
Write a configuration value.
shift-cli config set gateway-url https://app.the-shift.dev
Configuration Keys
| Key | Description | Default |
|---|---|---|
gateway-url | URL of the Shift gateway | — |
Examples
# Point CLI to local development gateway
shift-cli config set gateway-url http://shift.lvh.me
# Point CLI to production
shift-cli config set gateway-url https://app.the-shift.dev
# Read current gateway URL as JSON
shift-cli config get gateway-url --json
See Configuration for more details on URL scheme requirements and environment variable overrides.