module Thor::Invocation
def invoke_command(command, *args) #:nodoc:
Invoke the given command if the given args.
def invoke_command(command, *args) #:nodoc: current = @_invocations[self.class] unless current.include?(command.name) current << command.name command.run(self, *args) end end