CLI Configuration¶
The config command group allows you to manage the behavior of xcorecli itself and its interaction with the xcore project.
Commands Overview¶
| Command | Description |
|---|---|
show |
Display the current merged configuration |
get |
Retrieve a specific configuration value |
set |
Update a configuration value |
validate |
Check integration.yaml for schema compliance |
Managing Settings¶
View Current Configuration¶
Display the full merged configuration including defaults, integration.yaml values, and environment overrides:
Get a Specific Value¶
Update a Value¶
Modify settings directly from the CLI:
| Enable debug mode | |
|---|---|
Layered Configuration
xcorecli merges configuration from multiple sources in this priority order (highest first):
- Environment variables (
XCORE__SECTION__KEY=value) - Local CLI config (user-level overrides)
integration.yaml(project-level)- Internal framework defaults
Validate Configuration¶
Check integration.yaml for schema compliance before deploying:
Setting Credentials¶
Sensitive values like API keys should be set via the config command (not stored in integration.yaml):
Runtime Configuration¶
Some settings can be adjusted without restarting the server:
Apply live changes by reloading the service that owns the setting:
Dynamic Updates
Use xcli manager services reload <name> to apply configuration changes without a full restart. Changes to app.secret_key or database URLs always require a full restart.
See Also¶
- Configuration Guide
- Complete reference for
integration.yamlsections and fields.