feat(cli): add config path command - #1711
Open
ChrisJr404 wants to merge 2 commits into
Open
Conversation
floatpanebot
previously requested changes
Aug 25, 2026
floatpanebot
left a comment
Member
There was a problem hiding this comment.
Hi @ChrisJr404! Please fix the following issues with your PR:
- Title: Is too long (41 characters). The PR title must be strictly under 40 characters.
Member
Benchmark report — no significant changeMetrics worse: 0 · better: 0 (threshold: ±3%). benchstat outputauto-generated by benchmarks.yml |
floatpanebot
previously requested changes
Aug 26, 2026
floatpanebot
left a comment
Member
There was a problem hiding this comment.
Hi @ChrisJr404! Please fix the following issues with your PR:
- Title: Is too long (41 characters). The PR title must be strictly under 40 characters.
Author
|
Trimmed the title under 40 chars. Also pushed a fix for the Windows build: TestGetConfigFile only set HOME, but os.UserHomeDir() reads USERPROFILE on Windows so the temp override was ignored and it resolved to the real profile dir. Now sets both, same as the cache tests already do. |
floatpanebot
dismissed stale reviews from themself
August 26, 2026 05:02
Formatting issues have been resolved. Thank you!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What?
Adds a
matcha config pathsubcommand that prints the resolved config.json location and exits, without opening an editor.Why?
Closes #1516. There's currently no quick way to find where Matcha stores its config, you either open it in
$EDITORor guess the path. Printing it is useful in scripts and for anyone who just wants the location.The path comes from a small exported
config.GetConfigFilehelper so it resolves the same way the rest of the app does. Added tests for the resolver and for the wired command, and updated the README and CLI docs.