Sha256: 454093c751312ff0ddb21e809ecb7020cab6925333af8de34a8107d515c5b327

Contents?: true

Size: 1.09 KB

Versions: 2

Compression:

Stored size: 1.09 KB

Contents

##################################################################
#                  Licensing Information                         #
#                                                                #
#  The following code is licensed, as standalone code, under     #
#  the Ruby License, unless otherwise directed within the code.  #
#                                                                #
#  For information on the license of this code when distributed  #
#  with and used in conjunction with the other modules in the    #
#  Amp project, please see the root-level LICENSE file.          #
#                                                                #
#  © Michael J. Edgar and Ari Brown, 2009-2010                   #
#                                                                #
##################################################################
Amp::Command.namespace 'plugin' do
  Amp::Command.create('list') do |c|
    c.desc "Lists all the plugins known to Amp."
  
    c.on_call do
      Amp::Plugins::Base.all_plugins.each do |plugin|
        puts plugin.name
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
amp-front-0.2.0 lib/amp-front/dispatch/commands/builtin/plugin.rb
amp-front-0.1.0 lib/amp-front/dispatch/commands/builtin/plugin.rb