refactor(cli): add IaC sync/generate commands, centralize config loading, improve auth check#69
Conversation
…ing, improve auth check
|
Caution Review failedPull request was closed or merged during review WalkthroughComprehensive CLI refactoring to replace direct process termination with error throwing for proper error propagation, consolidate config loading into shared utilities, migrate schema scanner imports to a new location, standardize output formatting with logger/chalk helpers, add new IAC sync/generate commands, and remove legacy login command registration. Includes extensive test suite upgrade documentation. Changes
Estimated code review effort🎯 4 (Complex) | ⏱️ ~70 minutes Possibly related PRs
Suggested labels
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 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. Review rate limit: 0/1 reviews remaining, refill in 60 minutes.Comment |
Summary
iac syncandiac generateCLI commandsconfig.tsutilityprojectRootparameterschema-scanner.tswithconfig.tsChanges
packages/cli/src/utils/config.ts— centralized BetterBase config loadingdocs/testing/test-suite-upgrade.md— testing upgrade guidepackages/cli/src/utils/schema-scanner.tsSummary by CodeRabbit
New Features
iac syncandiac generatecommands for infrastructure management.Bug Fixes
Documentation
Refactor