code: def get_parser():
      parser = argparse.ArgumentParser(
          description="Given each file paths with such format as "
          "<key>:<file>:<type>. type> can be omitted and the default "
          'is "str". e.g. {} '
          "--input-scps feat:data/feats.scp shape:data/utt2feat_shape:shape "
          "--input-scps feat:data/feats2.scp shape:data/utt2feat2_shape:shape "
          "--output-scps text:data/text shape:data/utt2text_shape:shape "
          "--scps utt2spk:data/utt2spk".format(sys.argv[0]),
          formatter_class=argparse.ArgumentDefaultsHelpFormatter,
      )
      parser.add_argument(
          "--input-scps",
          type=str,
          nargs="*",
          action="append",
          default=[],
          help="Json files for the inputs",
      )
      parser.add_argument(
          "--output-scps",
          type=str,
          nargs="*",
          action="append",
          default=[],
          help="Json files for the outputs",
      )
      parser.add_argument(
          "--scps",
          type=str,
          nargs="+",
          default=[],
          help="The json files except for the input and outputs",
      )
      parser.add_argument(
          "--verbose", "-V", default=1, type=int, help="Verbose option"
      )
      parser.add_argument(
          "--allow-one-column",
          type=strtobool,
          default=False,
          help="Allow one column in input scp files. "
          "In this case, the value will be empty string.",
      )
      parser.add_argument(
          "--out",
          "-O",
          type=str,
          help="The output filename. "
          "If omitted, then output to sys.stdout",
      )
      return parser
  
file_path: espnet/utils/merge_scp2json.py
imports: import argparse
  import codecs
  import json
  import logging
  import sys
  from distutils.util import strtobool
  from io import open
  from espnet.utils.cli_utils import get_commandline_args
label_desc: Use image node_id 2 for calling a global function with example usage: get_parser() and returns: parser