config_cmd
config_cmd
¶
diapason config — configuration inspection commands.
Functions:¶
config
¶
show_group
¶
Show configuration details.
Source code in src/diapason/cli/config_cmd.py
loaded
¶
Show the loaded effective configuration from config.toml.
Source code in src/diapason/cli/config_cmd.py
toml
¶
Show the raw TOML configuration file content with syntax highlighting.
Source code in src/diapason/cli/config_cmd.py
as_json
¶
Show the parsed TOML configuration as JSON.
Source code in src/diapason/cli/config_cmd.py
hardware
¶
Show detected hardware information with recommended engine and model.
Source code in src/diapason/cli/config_cmd.py
show_path
¶
Print the resolved Diapason directories (home, config, cache).
All Diapason state lives under a single root, resolved in priority
order: $DIAPASON_HOME > $XDG_DATA_HOME/diapason >
~/.diapason. Use this to confirm where your data is stored after
setting an override.
Source code in src/diapason/cli/config_cmd.py
set_config
¶
Set a configuration value (e.g. diapason config set engine.ollama.host URL).