Sortal_configSortal configuration management with XDG paths
Configuration is loaded from ~/.config/sortal/config.toml by default, with support for environment variable overrides via XDG_CONFIG_HOME.
[sync] remote = "ssh://server/path/to/sortal.git" branch = "main" auto_commit = true commit_message = "sync"
Complete sortal configuration.
val default : unit -> tReturn the default configuration.
Load configuration from the default config file. Returns default config if file doesn't exist.
val write_default_config : ?force:bool -> unit -> (string, string) resultWrite a default config file to the config directory. Returns Ok path on success, or Error msg if the file exists and force is not set, or if writing fails.