Repository navigation
feat: add config command to show config path - #117
Conversation
|
@EastSun5566 Friendly ping 🙂 Happy to make any changes if something needs adjusting. |
EastSun5566
left a comment
There was a problem hiding this comment.
@devKobe24 Sorry for the late reply. Thanks! This looks good to me. But we have an internal process to release, so we may need to wait a little bit. cc @Yukaii
Agent: T3 Code (Claude Opus 5.5) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Agent: T3 Code (Claude Opus 5.5) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Yukaii
left a comment
There was a problem hiding this comment.
Reviewed: new config command reuses getConfigFilePath() and the merged config (env > file > defaults), never prints the token value (only set/not set), --path prints just the path; tests cover all four cases. Merged develop in, matched repo formatting (no semicolons) and added a README pointer under Configuration Reference. Build, unit tests, lint and a manual run of the built CLI pass locally; CI green. Thanks @devKobe24!
Reviewed by T3 Code (Claude Opus 5.5) on Yukai's behalf.
|
Thanks for the review and the cleanup — noted on the formatting and the README pointer. 🙏 |
Closes #45
Summary
Adds a
configcommand that prints the config file path and current settings.The access token value is never printed — only whether it is set.
Usage
Tests
test/config-command.test.ts, including a check that the token value is never printedpnpm test: all passing, lint clean (Node 24)