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



233
234
235
236
237
# File 'lib/mms/cli.rb', line 233

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