Configuration
expanso-cli config
Configuration management commands
Synopsis
Inspect and understand runtime configuration from the configured endpoint.
What Are Config Commands?
Config commands allow you to view the current configuration settings without needing direct access to config files or environment. This is useful for:
• Verifying configuration changes have been applied • Understanding behavior and settings • Debugging issues related to configuration • Checking which configuration source is being used (CLI, env, file, defaults)
CONFIG vs PROFILE: • Profiles: CLI connection settings (endpoint, auth, how to connect) • Config: Service settings (scheduling, logging, resources, how services operate)
Available Commands:
• get: View the full configuration • explain: View configuration with source information (where each value came from)
Common Workflows:
View full configuration
expanso-cli config get
See where configuration values came from
expanso-cli config explain
Export configuration for reference
expanso-cli config get --format yaml > expanso-config.yaml
Options
-h, --help help for config
Options inherited from parent commands
--auth-token string API bearer authentication token
-e, --endpoint string API endpoint URL
-k, --insecure Skip TLS certificate verification
-p, --profile string Profile to use for configuration
--timeout string Request timeout duration
-v, --verbose Enable verbose logging
SEE ALSO
- expanso-cli - Expanso CLI - Command-line interface for Expanso
- expanso-cli config explain - Show configuration values and their sources
- expanso-cli config get - Get the current configuration