scorpiox-config core

linux-x64 linux-arm64 macos-arm64 windows-x64

Manage, inspect, and dump configuration values for the ScorpioX toolchain. Read individual keys, list installed tools, or export the full configuration for debugging and automation.

⚙️ Flags & Options (6)

Flag Short Description Takes Value
--help -h Show usage information and exit No
--version -v Print the version number and exit No
--verbose Enable verbose output with extra detail on config resolution No
--dump Dump the full configuration to stdout in the given format (json, toml, env) Yes
--list-tools List all installed ScorpioX tools and their paths No
--get Retrieve the value of a specific configuration key Yes

💡 Usage Examples

# Display help and available options
scorpiox-config --help
# Print the installed version
scorpiox-config --version
scorpiox-config 1.4.0
# Get a single configuration value by key
scorpiox-config --get install_dir
/usr/local/scorpiox
# Get the configured model provider
scorpiox-config --get provider
claude_code
# List all installed tools
scorpiox-config --list-tools
scorpiox-agent    /usr/local/scorpiox/bin/scorpiox-agent
scorpiox-bash     /usr/local/scorpiox/bin/scorpiox-bash
scorpiox-config   /usr/local/scorpiox/bin/scorpiox-config
scorpiox-grep     /usr/local/scorpiox/bin/scorpiox-grep
...
# Dump the full configuration as JSON
scorpiox-config --dump json
{
  "install_dir": "/usr/local/scorpiox",
  "provider": "claude_code",
  "model": "opus",
  "thinking": true,
  "tools_count": 47,
  ...
}
# Dump as environment variables for shell scripts
scorpiox-config --dump env
SX_INSTALL_DIR=/usr/local/scorpiox
SX_PROVIDER=claude_code
SX_MODEL=opus
SX_THINKING=true
...
# Source config into current shell
eval "$(scorpiox-config --dump env)"
echo $SX_INSTALL_DIR
/usr/local/scorpiox
# Verbose mode for debugging config resolution
scorpiox-config --verbose --get install_dir
[config] searching: ~/.scorpiox/config.toml
[config] found key install_dir = /usr/local/scorpiox
/usr/local/scorpiox
# Dump as TOML for backup or migration
scorpiox-config --dump toml > ~/scorpiox-backup.toml

📦 Source & Build Info

Source Filescorpiox/scorpiox-config.c
Lines of Code1,960
Dependencieslibsxutil

🔗 Related Tools