Use binary from os.Args for shell completion#589
Conversation
There was a hardcoded `crane` in shell autocompletion-related code. Updated to use binary name of called command to allow flexible binary naming. Fixes migtools#8 Signed-off-by: Marek Aufart <maufart@redhat.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)
📝 WalkthroughWalkthroughIn ChangesDynamic CLI Root Command Name
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Possibly related issues
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 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 |
Test Coverage ReportTotal: 47.6% Per-package coverage
Full function-level detailsPosted by CI |
There was a hardcoded
cranein shell autocompletion-related code. Updated to use binary name of called command to allow flexible binary naming.Fixes migtools#8
Summary by CodeRabbit