From 11d3d17e08f5a712058d61185cb2fc9d5165ab6e Mon Sep 17 00:00:00 2001 From: Wender Freese Date: Sat, 27 Mar 2021 07:46:53 -0300 Subject: Deprecate the option "--plugins" on CLI considering PluginManager does not exist anymore --- lib/pry/cli.rb | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/lib/pry/cli.rb b/lib/pry/cli.rb index 8d56794d..0e29f7f0 100644 --- a/lib/pry/cli.rb +++ b/lib/pry/cli.rb @@ -163,11 +163,8 @@ Pry::CLI.add_options do 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 -- cgit v1.2.1