code: def main(argv: List[str] = None):
      parser = set_parser()
      args = vars(parser.parse_args(argv))
      indexer_class = args.pop("indexer")
      indexer_module = INDEXER_MAP[indexer_class]
      indexer = import_class(
          indexer_module, indexer_class
      )  # type: Type[BaseIndexer]
      indexer(**args).index()
  
file_path: nboost/nboost/indexers/cli.py
imports: from argparse import ArgumentParser
  from typing import List, Type
  import termcolor
  from nboost.indexers.base import BaseIndexer
  from nboost.helpers import import_class
  from nboost.indexers import defaults
  from nboost.maps import INDEXER_MAP
label_desc: Use image node_id 2 for calling a global function with example usage: main(argv) without return types