#invoke(name = nil, *args) ⇒ Object

Receives a name and invokes it. The name can be a string (either “command”
or “namespace:command”), a Thor::Command, a Class or a Thor instance. If
the command cannot be guessed by name, it can also be supplied as second
argument.

You can also supply the arguments, options and configuration values for the
command to be invoked, if none is given, the same values used to initialize
the invoker are used to initialize the invoked.

When no name is given, it will invoke the default command of the current
class.