Method: Morpheus::Cli::CliRegistry#add

Defined in:
lib/morpheus/cli/cli_registry.rb

#add(cmd_name, klass) ⇒ Object



33
34
35
# File 'lib/morpheus/cli/cli_registry.rb', line 33

def add(cmd_name, klass)
  @commands[cmd_name.to_sym] = klass
end