lib/launcher/cli.rb
# Displays a table within the command line describing the current status and other information
# for every Cloudformation that is currently launched.
# For more help on this command, use `launcher help list` from the command line.
Displays a table within the command line describing the current status and other information
for every Cloudformation that is currently launched.
For more help on this command, use `launcher help list` from the command line.
Displays a table within the command line describing the current status and other information for every Cloudformation that is currently launched . For more help on this command use ` launcher help list ` from the command line .
def stacks
      rows = []
      Launcher::Stacks.new.all_statuses { |s| rows << [s[:name], s[:updated_at], s[:status]] }
      Launcher::Log.ok "\n", Terminal::Table.new(:headings => ["Name", "Updated At", "Status"], :rows => rows)
    end
def stacks rows = [ ] Launcher :: Stacks . new . all_statuses { | s | rows << [ s [ :name ] , s [ :updated_at ] , s [ :status ] ] } Launcher :: Log . ok "\n" , Terminal :: Table . new ( :headings => [ "Name" , "Updated At" , "Status" ] , :rows => rows ) end
Displays a table within the command line describing the current status and other information
for every Cloudformation that is currently launched.
Displays a table within the command line describing the current status and other information for every Cloudformation that is currently launched .