Fix README examples: use single quotes around values containing !#3
Conversation
Bash history expansion treats ! inside double quotes specially, causing dquote> mode when copy-pasting the examples. Switch to single quotes for --subject 'Welcome!' and --body-html '<h1>Hi!</h1>'. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughDocumentation updates to README.md examples, converting double-quoted argument values to single-quoted format in CLI commands for transactional send and templates create operations. Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
dquote>mode when copy-pasting README examples in bashProblem
Bash history expansion treats
!inside double quotes specially. The two affected examples:--subject "Welcome!"(Transactional sending example)--body-html "<h1>Hi!</h1>"(Templates example)When copy-pasted into an interactive bash shell, these trigger history expansion and leave the shell waiting for a closing
"(dquote>prompt).Fix
Switch to single quotes for the affected values — single quotes are always literal in bash and are the correct choice for values that don't need variable interpolation.
Test plan
dquote>prompt🤖 Generated with Claude Code
Summary by CodeRabbit