def _command(name, description=None):
    def decorator(f):
        commands[name] = f
        if description:
            descriptions[name] = description
        return f
    return decorator
Decorate a function used to call a command.
dataset/ETHPy150Open Yelp/mrjob/mrjob/cmd.py/_command