Method: Charyf::Command::Base.perform

Defined in:
lib/charyf/utils/command/base.rb

.perform(command, args, config) ⇒ Object

:nodoc:



59
60
61
62
63
64
65
# File 'lib/charyf/utils/command/base.rb', line 59

def perform(command, args, config) # :nodoc:
  if Charyf::Command::HELP_MAPPINGS.include?(args.first)
    command, args = "help", []
  end

  dispatch(command, args.dup, nil, config)
end