def command_add(cmd_name):

    def wrap(f):
        f._is_cmd = True
        f._cmd_name = cmd_name
        return f
    return wrap
Decorator for command classes to use to add commands
dataset/ETHPy150Open rackerlabs/openstack-guest-agents-unix/commands/__init__.py/command_add