code: def main(argv=None):
      
      arguments = cli_common(__doc__, argv=argv)
      es_export = ESExporter(arguments['CAMPAIGN-DIR'], arguments['--es'])
      es_export.export()
      if argv is not None:
          return es_export
docs: ben-elastic entry point