Conversation
Extra claude CLI arguments, appended to the launch command as raw shell
like the pre-launch command, e.g. --settings '{"outputStyle": "Learning"}'.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Thanks for making this project! I was looking for a way to customize settings like output style per session and found custom command line arguments were the best way to do so. I tried to configure it in switchboard, but saw it wasn't present. I could add that one field as a new option, but thought it might be good to contribute a more flexible customArg setting like the pre-launch commands.
This PR adds a "Custom Arguments" field under more options for Claude sessions and schedules. The text is appended to the
claudelaunch command as raw shell, the same way pre-launch command is prepended (e.g.--settings '{"outputStyle": "Learning"}'). This should be backwards compatible with any existing configurations and schedules.I tried to keep it as simple as possible and follow the existing patterns, but let me know if you want any additional preprocessing logic or guardrails or if you would prefer I just make it for a specific setting rather than a generic field for custom arguments.