Class: Pod::Command::Plugins::List

Inherits:
Pod::Command::Plugins show all
Defined in:
lib/pod/command/plugins/list.rb

Overview

The list subcommand. Used to list all known plugins

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.optionsObject



15
16
17
# File 'lib/pod/command/plugins/list.rb', line 15

def self.options
  super.reject { |option, _| option == '--silent' }
end

Instance Method Details

#runObject



19
20
21
22
23
24
25
26
27
# File 'lib/pod/command/plugins/list.rb', line 19

def run
  plugins = PluginsHelper.known_plugins

  UI.title 'Available CocoaPods Plugins:' do
    plugins.each do |plugin|
      PluginsHelper.print_plugin plugin, self.verbose?
    end
  end
end