@property<EOL><INDENT>def invoked_with(self):<DEDENT>
command_name = self._command_impl.name<EOL>ctx = self.context<EOL>if ctx is None or ctx.command is None or ctx.command.qualified_name != command_name:<EOL><INDENT>return command_name<EOL><DEDENT>return ctx.invoked_with<EOL>
Similar to :attr:`Context.invoked_with` except properly handles
        the case where :meth:`Context.send_help` is used.

        If the help command was used regularly then this returns
        the :attr:`Context.invoked_with` attribute. Otherwise, if
        it the help command was called using :meth:`Context.send_help`
        then it returns the internal command name of the help command.

        Returns
        ---------
        :class:`str`
            The command name that triggered this invocation.