Skip to content

feat: TOML config file for persistent defaults #159

Closed

Description

@ryanlewis

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.

Activity

  1. added
    enhancement
    on Sep 5, 2026
  2. ryanlewis commented on Sep 5, 2026

    @ryanlewis
    OwnerAuthor

    #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.

  3. added a commit that references this issue on Sep 5, 2026
    02da334
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions