Skip to content

Commit

Permalink
Merge pull request #2180 from wenderjean/fix/deprecate-plugins-cli-op…
Browse files Browse the repository at this point in the history
…tion

Deprecate the option "--plugins" on CLI
  • Loading branch information
kyrylo committed Apr 11, 2021
2 parents 732a930 + 11d3d17 commit 29314c3
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 29314c3

Please sign in to comment.