[BUG] Command line theme configuration no longer works since upgrade to 2.0
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
claude config commands are no longer supported in the latest release, which breaks the ability to programmatically set the theme from the command line ala claude config set --global theme <theme>.
Context: My invocation of claude code is wrapped in a function that detects whether or not my system theme is dark/light (dynamic based on the time of day) and sets the theme before invoking claude code.
What Should Happen?
Need a way to programmatically set the theme to dark or light. One possible solution is to expose theme as an additional setting configured from a json file, but the current code does not appear to do this.
Error Messages/Logs
Run `claude config set --global theme light`
Steps to Reproduce
Run claude config set --global theme <theme> and observe:error: unknown option '--global'
claude config set theme light interprets config as a prompt
Claude Model
Sonnet (default)
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
v2.0.0
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Other
Additional Information
_No response_
This issue has 7 comments on GitHub. Read the full discussion on GitHub ↗