@classmethod
    def command_opt(self, arg):

        def wrap(f):
            """Function argument to decorator"""

            self.COMMANDS[arg] = f
            return f
        return wrap
Decorator used to define a command
dataset/ETHPy150Open rackerlabs/openstack-guest-agents-unix/common/agent-client.py/Commands.command_opt