@main.command()
def bundles():
 for bundle in sorted(bundles_module.bundles.keys()):
  if bundle.startswith('.'):
   continue
  try:
   ingestions = list(map(text_type, bundles_module.ingestions_for_bundle(bundle)))
  except OSError as e:
   if (e.errno != errno.ENOENT):
    raise
   ingestions = []
  for timestamp in (ingestions or ['<no ingestions>']):
   click.echo(('%s %s' % (bundle, timestamp)))

@ main . command ( ) def bundles ( ) : for bundle in sorted ( bundles_module . bundles . keys ( ) ) : if bundle . startswith ( '.' ) : continue try : ingestions = list ( map ( text_type , bundles_module . ingestions_for_bundle ( bundle ) ) ) except OSError as e : if ( e . errno != errno . ENOENT ) : raise ingestions = [ ] for timestamp in ( ingestions or [ '<no ingestions>' ] ) : click . echo ( ( '%s %s' % ( bundle , timestamp ) ) )
list all of the available data bundles .