Sha256: 9779e5ea9f043af6db166495e1b049f3a7dc328cc314df4e44a4ab4dfb07a784

Contents?: true

Size: 884 Bytes

Versions: 9

Compression:

Stored size: 884 Bytes

Contents

require 'pod/command/plugins_helper'
require 'pod/command/gem_helper'

module Pod
  class Command
    class Plugins
      # The list subcommand. Used to list all known plugins
      #
      class List < Plugins
        self.summary = 'List all known plugins'
        self.description = <<-DESC
                List all known plugins (according to the list
                hosted on github.com/CocoaPods/cocoapods-plugins)
        DESC

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

        def run
          plugins = PluginsHelper.known_plugins
          GemHelper.download_and_cache_specs if self.verbose?

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

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
cocoapods-dependency-html-0.0.2 vendor/bundle/gems/cocoapods-plugins-1.0.0/lib/pod/command/plugins/list.rb
cocoapods-dependency-html-0.0.1 vendor/bundle/gems/cocoapods-plugins-1.0.0/lib/pod/command/plugins/list.rb
cocoapods-plugins-1.0.0 lib/pod/command/plugins/list.rb
cocoapods-plugins-1.0.0.rc.1 lib/pod/command/plugins/list.rb
cocoapods-plugins-1.0.0.beta.1 lib/pod/command/plugins/list.rb
cocoapods-plugins-0.4.2 lib/pod/command/plugins/list.rb
cocoapods-plugins-0.4.1 lib/pod/command/plugins/list.rb
cocoapods-plugins-0.4.0 lib/pod/command/plugins/list.rb
cocoapods-plugins-0.3.2 lib/pod/command/plugins/list.rb