def command(f):
@functools.wraps(f)<EOL>def func_wrapper(self, *argv, **kwargs):<EOL><INDENT>if '<STR_LIT>' in kwargs:<EOL><INDENT>ip = kwargs['<STR_LIT>']<EOL>del kwargs['<STR_LIT>']<EOL><DEDENT>else:<EOL><INDENT>ip = None<EOL><DEDENT>commands = _get_commands(f, self, *argv, **kwargs)<EOL>return self.execute(commands, ip=ip)<EOL><DEDENT>return func_wrapper<EOL>
indicate it's a command of naviseccli

    :param f: function that returns the command in list
    :return: command execution result