Class: Guard::Commands::Show

Inherits:
Object
  • Object
show all
Defined in:
lib/guard/commands/show.rb

Class Method Summary collapse

Class Method Details

.importObject



6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# File 'lib/guard/commands/show.rb', line 6

def self.import
  Pry::Commands.create_command "show" do
    group "Guard"
    description "Show all Guard plugins."

    banner <<-BANNER
    Usage: show

    Show all defined Guard plugins and their options.
    BANNER

    def process
      Guard.async_queue_add([:guard_show])
    end
  end
end