class Thor::Group

def command_exists?(command_name) #:nodoc:

:nodoc:
Boolean:: +true+ if the command exists, +false+ otherwise.
==== Returns

command_name:: The name of the command to check for existence.
==== Parameters

Checks if a specified command exists.
def command_exists?(command_name) #:nodoc:
  commands.keys.include?(command_name)
end