Class: MMS::CLI::CommandManager

Inherits:
Command
  • Object
show all
Defined in:
lib/mms/cli.rb

Instance Attribute Summary

Attributes inherited from Command

#agent, #app_name, #client, #config

Instance Method Summary collapse

Methods inherited from Command

#clusters, #groups, #initialize, #parse_user_home_config, #print, #print_human, #print_json, #print_tips

Constructor Details

This class inherits a constructor from MMS::CLI::Command

Instance Method Details

#run(arguments) ⇒ Object



266
267
268
269
270
271
272
# File 'lib/mms/cli.rb', line 266

def run(arguments)
  begin
    super
  rescue Exception => e
    abort(e.message.empty? ? 'Unknown error/Interrupt' : e.message)
  end
end