class MMS::CLI::MMS::CLI::Command::Snapshots

Public Instance Methods

execute() click to toggle source
# File lib/mms/cli.rb, line 201
def execute
  snapshot_list = clusters.collect!(&:snapshots).flatten.sort_by(&:created_date).reverse
  print(MMS::Resource::Snapshot.table_header, snapshot_list)
end