Class: Pod::Command::Plugins::List
- Inherits:
-
Pod::Command::Plugins
- Object
- Pod::Command
- Pod::Command::Plugins
- Pod::Command::Plugins::List
- 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
.options ⇒ Object
15 16 17 |
# File 'lib/pod/command/plugins/list.rb', line 15 def self. super.reject { |option, _| option == '--silent' } end |
Instance Method Details
#run ⇒ Object
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 |