Skip to content

Read knope.toml from .config/ #2033

Open

Description

@natescherer

Hello!
First off, I wanted to say thank you for Knope. I recently migrated from using Google's Release Please, and this is an improvement in every way.

The changesets in particular have amazing for me; I'm working on a series of nested templates to help unify my projects and they've provided me a way to include what changed in a parent template in a child template's changelog via making changesets out of the diff of the parent's changelog.

All that aside, I was wondering if you'd be amenable to allowing Knope to read from both .config/knope.toml in addition to .knope.toml. I generally try and keep all my tool configs inside .config in order to avoid having too much in the root of my repo. There is a developing standard for this, see https://github.com/pi0/config-dir.

Happy to contribute a PR for this as well.

Thanks for a great tool!

Activity

  1. dbanty commented on Oct 18, 2026

    @dbanty
    Member

    Yes, definitely open to it! There have been a couple other related ideas too (allow running Knope in nested directories, triggering in repo root, shared config outside repo, etc.)

    The main thing blocking all of these is a refactor to ensure every path/command resolves from a consistent location (maybe repo root, maybe the directory the config is in, haven't decided).

    Right now the config path == cwd, so there's no confusion or inconsistency. But also, the code doesn't think about paths very hard because it doesn't have to 😅.

  2. natescherer commented on Oct 18, 2026

    @natescherer
    Author

    Great! I will hold any PR submission until you've made your larger architectural decisions then. Feel free to ping me back if you'd like me to do that once it's settled!

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions