def common_options(f):
    'Add common options to commands via a decorator.\n\n    These are applied to all of the cli commands.\n    '
    f = click.version_option()(f)
    f = click.option('-v', '--verbose', count=True, help='Verbosity, how detailed should the output be. This is *stackable*, so `-vv` is more verbose than `-v`. For the most verbose option try `-vvvv` or `-vvvvv`.')(f)
    f = click.option('-n', '--nocolor', is_flag=True, help='No color - if this is set then the output will be without ANSI color codes.')(f)
    return f
Add common options to commands via a decorator.

These are applied to all of the cli commands.
def common_options(f):
    'Add common options to commands via a decorator.\n\n    These are applied to all of the cli commands.\n    '
    f = click.version_option()(f)
    f = click.option('-v', '--verbose', count=True, help='Verbosity, how detailed should the output be. This is *stackable*, so `-vv` is more verbose than `-v`. For the most verbose option try `-vvvv` or `-vvvvv`.')(f)
    f = click.option('-n', '--nocolor', is_flag=True, help='No color - if this is set then the output will be without ANSI color codes.')(f)
    return f