Skip to content

config_cmd

diapason.cli.config_cmd

diapason config — configuration inspection commands.

as_json(path)

Show the parsed TOML configuration as JSON.

config()

Inspect configuration — show loaded settings, hardware, and config files.

hardware()

Show detected hardware information with recommended engine and model.

loaded(path, as_json)

Show the loaded effective configuration from config.toml.

set_config(key, value)

Set a configuration value (e.g. diapason config set engine.ollama.host URL).

show_group(ctx, path, as_json)

Show configuration details.

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.

toml(path)

Show the raw TOML configuration file content with syntax highlighting.