Skip to content

Commit

Permalink
Deprecate the option "--plugins" on CLI considering PluginManager doe…
Browse files Browse the repository at this point in the history
…s not exist anymore
  • Loading branch information
wenderjean committed Mar 27, 2021
1 parent cee7b4d commit 11d3d17
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions lib/pry/cli.rb
Expand Up @@ -163,11 +163,8 @@ def start(opts)
end

on "plugins", "List installed plugins." do
puts "Installed Plugins:"
puts "--"
Pry.locate_plugins.each do |plugin|
puts plugin.name.to_s.ljust(18) << plugin.spec.summary
end
warn "The --plugins option is deprecated and has no effect"
warn "Try using `gem list pry-`"
Kernel.exit
end

Expand Down

0 comments on commit 11d3d17

Please sign in to comment.