Class: Moonshot::Commands::List

Inherits:
Moonshot::Command show all
Defined in:
lib/moonshot/commands/list.rb

Instance Method Summary collapse

Methods inherited from Moonshot::Command

inherited, #parser

Instance Method Details

#executeObject



10
11
12
13
# File 'lib/moonshot/commands/list.rb', line 10

def execute
  stacks = StackLister.new(controller.config.app_name).list
  StackListPrinter.new(stacks).print
end