class

Quartz::Config

Inherits YAML::Serializable < Reference < Object

Constructors

load(path : String | Nil = nil) : Config

Loads config from disk (or defaults), then applies env-var overrides. Merge precedence (low → high): defaults, file, env. CLI overrides are applied by the caller after load.

Source
new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)
Source

Class methods

default_path

Default config file path. Respects XDG_CONFIG_HOME.

Source
sample

Sample config YAML for quartz init --config.

Source

Instance methods

ai_backend
Source
ai_backend=(ai_backend : String)
Source
apply_env!
Source
default_channel
Source
default_channel=(default_channel : String)
Source
default_port
Source
default_port=(default_port : String | Nil)
Source
default_variant
Source
default_variant=(default_variant : String)
Source
ollama_model
Source
ollama_model=(ollama_model : String)
Source
ollama_url
Source
ollama_url=(ollama_url : String)
Source
sdk_cache
Source
sdk_cache=(sdk_cache : String)
Source
sdk_cache_expanded

Expands ~ in path-style config values.

Source
tap_registry
Source
tap_registry=(tap_registry : Array(String))
Source