feat: add -y flag to allow for skipping warning message & prompt#2993
feat: add -y flag to allow for skipping warning message & prompt#2993reesericci wants to merge 4 commits into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
2 Skipped Deployments
|
|
Hello! Thank you for opening your first PR to npmx, @reesericci! 🚀 Here’s what will happen next:
|
📝 WalkthroughWalkthroughAdds a ChangesCLI confirmation skip flag
🚥 Pre-merge checks | ✅ 4✅ Passed checks (4 passed)
✨ 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 |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@cli/src/cli.ts`:
- Around line 46-50: The boolean CLI option currently only defines the long form
and does not expose a usable short flag, so `-y` will not set `args.y`. Update
the option in `cli/src/cli.ts` within the CLI argument definition to add the
short-flag alias (or rename the option to `yes` and alias `y`) so the
non-interactive prompt bypass works consistently. Keep the change localized to
the argument configuration that defines `y`.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
Run ID: c5bb6442-9243-402e-aeda-50b84181dbfe
📒 Files selected for processing (1)
cli/src/cli.ts
🔗 Linked issue
🧭 Context
There's currently no way to run the connector non-interactively.
📚 Description
This PR adds a
-yflag which skips the prompt.