class RabbitHutch::CLI

This class controls the Command Line Interface

Constants

StandardTemplate

Public Instance Methods

list() click to toggle source

method_option :recursive, :aliases => “-r”, :type => :boolean, :default => “false”, :desc => “true = recurse through sub directories, false = only do top directory”

# File lib/rabbithutchmgr.rb, line 40
def list()
  @config = RabbitHutch::Configurator.new(options)
  puts Mustache.render(StandardTemplate,  :config => @config);
end