import click


def universal_options(f):
    """Options required by every command."""
    f = click.option('--genotype', type=click.Path(exists=True),
                     required=True, help='Genotype file path.')(f)
    f = click.option('--verb', is_flag=True)(f)
    return f