def get_cluster_options(defaults=None):
    """Adding arguments for the cluster subcommand

    """
    if defaults is None:
        defaults = {}
    options = {'--cluster-fields': {'action': 'store', 'dest':
        'cluster_fields', 'default': defaults.get('cluster_fields', None),
        'help':
        'Comma-separated list of input fields (predictors) to create the cluster.'
        }, '--cluster': {'action': 'store', 'dest': 'cluster', 'default':
        defaults.get('cluster', None), 'help': 'BigML cluster Id.'},
        '--clusters': {'action': 'store', 'dest': 'clusters', 'default':
        defaults.get('clusters', None), 'help':
        'Path to a file containing cluster/ids. One cluster per line (e.g., cluster/50a206a8035d0706dc000376).'
        }, '--cluster-file': {'action': 'store', 'dest': 'cluster_file',
        'default': defaults.get('cluster_file', None), 'help':
        'BigML cluster JSON structure file.'}, '--k': {'action': 'store',
        'type': int, 'dest': 'cluster_k', 'default': defaults.get(
        'cluster_k', None), 'help':
        'Number of centroids to be generated in the cluster.'},
        '--no-cluster': {'action': 'store_true', 'dest': 'no_cluster',
        'default': defaults.get('no_cluster', False), 'help':
        'Do not create a cluster.'}, '--cluster-attributes': {'action':
        'store', 'dest': 'cluster_attributes', 'default': defaults.get(
        'cluster_attributes', None), 'help':
        'Path to a json file describing cluster attributes.'},
        '--no-no-cluster': {'action': 'store_false', 'dest': 'no_cluster',
        'default': defaults.get('no_cluster', False), 'help':
        'Create a cluster.'}, '--cluster-datasets': {'action': 'store',
        'dest': 'cluster_datasets', 'nargs': '?', 'const': '', 'default':
        defaults.get('cluster_datasets', None), 'help':
        'Comma-separated list of centroid names. The related datasets will be generated. All datasets will be generated if empty.'
        }, '--cluster-seed': {'action': 'store', 'dest': 'cluster_seed',
        'default': defaults.get('cluster_seed', None), 'help':
        'The seed to be used in cluster building.'},
        '--batch-centroid-attributes': {'action': 'store', 'dest':
        'batch_centroid_attributes', 'default': defaults.get(
        'batch_centroid_attributes', None), 'help':
        'Path to a json file describing batch centroid attributes.'},
        '--centroid-attributes': {'action': 'store', 'dest':
        'centroid_attributes', 'default': defaults.get(
        'centroid_attributes', None), 'help':
        'Path to a json file describing centroid attributes.'},
        '--cluster-models': {'action': 'store', 'dest': 'cluster_models',
        'nargs': '?', 'const': '', 'default': defaults.get('cluster_models',
        None), 'help':
        'Comma-separated list of centroid names. The related models will be generated. All models will be generated if empty.'
        }, '--summary-fields': {'action': 'store', 'dest': 'summary_fields',
        'default': defaults.get('summary_fields', None), 'help':
        'Comma-separated list of summary fields, that will be included in the generated datasets but not used in clustering.'
        }}
    return options
