import click


def output_setup_options(f):
    """Create common options for output results from clustering/KDE analysis"""
    f = click.option('--savexyz/--no-savexyz',
                     help='Save the results to the xyz file',
                     default=True)(f)
    f = click.option('--savetxt/--no-savetxt',
                     help='Save the results to the txt file',
                     default=False)(f)
    return f