You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat: TOML config file for persistent defaults #159
There is no settings or preferences layer yet: every run starts from flag defaults, and the only state on disk is the last-list cache. I want a config file so defaults can be set once, and so the agent hand-off work in #153 has somewhere to put its settings.
Proposal:
TOML at ~/.config/things-cli/config.toml, overridable with --config <path> (and THINGS_CLI_CONFIG if cheap). Missing file is not an error.
Keys map onto existing global and per-command flags via kong's Configuration resolver (kong-toml loader), so the precedence is flag > config > built-in default with no second code path. Initial keys: json, color, db, no_verify, strict_tags, create_tags.
things config path prints the file in use; things config show prints the effective values (plain and --json). A things config init that writes a commented template is nice to have.
Document the file in README, the commands page and internal/skill/SKILL.md; the skill must know a config file can change defaults an agent relies on (e.g. json).
Blocks #153: the hand-off feature needs at least one persistent setting.
#158 (--yes on complete/cancel) will build on this: it needs a config key for skipping confirmations, so the key set should be easy to extend from a second PR.
Activity
ryanlewis commentedon Sep 5, 2026
#158 (
--yeson complete/cancel) will build on this: it needs a config key for skipping confirmations, so the key set should be easy to extend from a second PR.feat(config): add a TOML config file for persistent flag defaults
feat(complete): add --yes to complete and cancel so projects work non…