scout/commands/view/collections.py
def collections(context):
    """Show all collections in the database"""
    LOG.info("Running scout view collections")

    adapter = context.obj['adapter']

    for collection_name in adapter.collections():
        click.echo(collection_name)
def collections(context):
    LOG.info("Running scout view collections")

    adapter = context.obj['adapter']

    for collection_name in adapter.collections():
        click.echo(collection_name)
def collections ( context ) : LOG . info ( "Running scout view collections" ) adapter = context . obj [ 'adapter' ] for collection_name in adapter . collections ( ) : click . echo ( collection_name )
Show all collections in the database
Show all collections in the database