feat(cli): rename plugin command to plugins (keep plugin alias)#224
Conversation
The top-level command manages a collection of plugins (list, info, install, enable, verify, doctor, …), so the plural `plugins` reads more naturally as the management noun. `plugins` is now the canonical command, with `plugin` registered as a Cobra alias so existing scripts, CI configs, and muscle memory keep working. The custom help template already renders `NameAndAliases`, so `bomly plugins --help` surfaces the alias automatically. Also updates in-code examples/help text and all user-facing docs to the canonical `plugins` form, and adds TestPluginCommandAlias asserting both names resolve to the same command (existing tests continue to invoke the `plugin` alias, exercising the backward-compat path). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
Warning Review limit reached
Next review available in: 30 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (15)
✨ 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 |
Bomly Diff SummaryCompared Overview
Dependency Changes✅ No dependency changes. Vulnerabilities✅ No vulnerability changes. License Changes✅ No license changes. Project Posture✅ No project posture changes ( Policy Findings✅ No policy differences were identified. |
What
Renames the top-level
bomly plugincommand tobomly plugins, keepingpluginas a backward-compatible alias.Why
The command manages a collection of plugins (
list,info,install,enable,verify,doctor, …), so the pluralpluginsreads more naturally as the management noun. Keepingpluginas an alias means existing scripts, CI configs, and muscle memory keep working with no breakage.How
internal/cli/plugin_cmd.go:Use: "plugins"+Aliases: []string{"plugin"}. No other command wiring changes — thenewPluginCmdsymbol androot.AddCommandstay as-is. The custom help template already rendersNameAndAliases, sobomly plugins --helpshowsAliases: plugins, pluginfor free.plugin_cmd.go,help_cmd.go,internal/support/component_docs.go) and regenerated component docs.pluginsform:README.md,docs/PLUGINS.md,docs/DETECTORS.md,docs/MATCHERS.md,docs/GLOSSARY.md,docs/plugins/how-to-implement-*.md,dev-docs/ARCHITECTURE.md.Tests
TestPluginCommandAliasasserting bothpluginsandpluginresolve to the same command.plugin, so they now also exercise the alias path.help_cmd_test.go/root_cmd_test.go(footer string + a new canonicalplugins --helpcase alongside thepluginalias case).Verification
make build✓go test ./...✓make generate✓ (only the intendedpluginsdoc diffs)bomly plugins list --allandbomly plugin list --allproduce identical output;bomly plugins --helpshows theAliases:line;bomly --helplists the command asplugins.Reviewer notes
This is marked
feat:to land as a minor bump given it's a user-visible command surface change. The alias is intended to remain indefinitely for backward compatibility.🤖 Generated with Claude Code