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



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

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