@click.command(name='cache.files', help='List files in state cache diretory')
@default_state_options
def files(state, datefilter=''):
    'List files in state cache diretory\n\n    State is required. Optionally provide a date \n    filter to limit results.\n\n    NOTE: Cache must be populated in order to load data.\n    '
    cache = StateCache(state)
    files = cache.list_dir(datefilter)
    if files:
        print_files(files)
    else:
        msg = 'No files found'
        if datefilter:
            msg += (' using date filter: %s' % datefilter)
        print(msg)
List files in state cache diretory

State is required. Optionally provide a date 
filter to limit results.

NOTE: Cache must be populated in order to load data.
@click.command(name='cache.files', help='List files in state cache diretory')
@default_state_options
def files(state, datefilter=):
    'List files in state cache diretory\n\n    State is required. Optionally provide a date \n    filter to limit results.\n\n    NOTE: Cache must be populated in order to load data.\n    '
    cache = StateCache(state)
    files = cache.list_dir(datefilter)
    if files:
        print_files(files)
    else:
        msg = 'No files found'
        if datefilter:
            msg += (' using date filter: %s' % datefilter)
        print(msg)