code: def set_parser() -> ArgumentParser:
      """Add default nboost-index cli arguments to a given parser"""
      parser = ArgumentParser(description=DESCRIPTION)
      parser.add_argument(
          "--verbose",
          type=type(defaults.verbose),
          default=defaults.verbose,
          help=VERBOSE,
      )
      parser.add_argument(
          "--file",
          type=type(defaults.file),
          default=defaults.file,
          help=FILE,
      )
      parser.add_argument(
          "--index_name",
          type=type(defaults.index_name),
          default=defaults.index_name,
          help=INDEX_NAME,
      )
      parser.add_argument(
          "--host",
          type=type(defaults.host),
          default=defaults.host,
          help=HOST,
      )
      parser.add_argument(
          "--port",
          type=type(defaults.port),
          default=defaults.port,
          help=PORT,
      )
      parser.add_argument(
          "--delim",
          type=type(defaults.delim),
          default=defaults.delim,
          help=DELIM,
      )
      parser.add_argument(
          "--shards",
          type=type(defaults.shards),
          default=defaults.shards,
      )
      parser.add_argument("--id_col", action="store_true", help=ID_COL)
      parser.add_argument(
          "--indexer",
          type=type(defaults.indexer),
          default=defaults.indexer,
          help=INDEXER,
      )
      return parser
  
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 1 for calling a global function with example usage: set_parser() and returns: parser