docs: def cli(ctx, collections, threads, debug):
      """ A configurable data and document processing tool. """
      ctx.obj = {
          'collections': collections,
          'debug': debug,
          'threads': threads
      }
      if debug:
          logging.basicConfig(level=logging.DEBUG)
      else:
          logging.basicConfig(level=logging.INFO)