def get_association_options(defaults=None):
    """Adding arguments for the association subcommand

    """
    if defaults is None:
        defaults = {}
    options = {'--association-fields': {'action': 'store', 'dest':
        'association_fields', 'default': defaults.get('association_fields',
        None), 'help':
        'Comma-separated list of input fields (predictors) to create the association.'
        }, '--association': {'action': 'store', 'dest': 'association',
        'default': defaults.get('association', None), 'help':
        'BigML association Id.'}, '--associations': {'action': 'store',
        'dest': 'associations', 'default': defaults.get('associations',
        None), 'help':
        'Path to a file containing association/ids. One association per line (e.g., association/50a206a8035d0706dc000376).'
        }, '--association-file': {'action': 'store', 'dest':
        'association_file', 'default': defaults.get('association_file',
        None), 'help': 'BigML association JSON structure file.'}, '--max-k':
        {'action': 'store', 'type': int, 'dest': 'association_k', 'default':
        defaults.get('association_k', None), 'help':
        'Maximum number of rules to be included in the  association.'},
        '--search-strategy': {'action': 'store', 'dest': 'search_strategy',
        'choices': ['confidence', 'coverage', 'leverage', 'lift', 'support'
        ], 'default': defaults.get('search_strategy', None), 'help':
        'The strategy for prioritizing the rules in the search.'},
        '--no-association': {'action': 'store_true', 'dest':
        'no_association', 'default': defaults.get('no_association', False),
        'help': 'Do not create an association.'},
        '--association-attributes': {'action': 'store', 'dest':
        'association_attributes', 'default': defaults.get(
        'association_attributes', None), 'help':
        'Path to a json file describing association attributes.'},
        '--no-no-association': {'action': 'store_false', 'dest':
        'no_association', 'default': defaults.get('no_association', False),
        'help': 'Create an association.'}}
    return options
