code: def get_arg_parser():
      from snips_nlu.cli.download import (
          add_download_parser,
          add_download_all_languages_parser,
      )
      from snips_nlu.cli.download_entity import (
          add_download_entity_parser,
          add_download_language_entities_parser,
      )
      from snips_nlu.cli.generate_dataset import (
          add_generate_dataset_subparser,
      )
      from snips_nlu.cli.inference import add_parse_parser
      from snips_nlu.cli.link import add_link_parser
      from snips_nlu.cli.metrics import (
          add_cross_val_metrics_parser,
          add_train_test_metrics_parser,
      )
      from snips_nlu.cli.training import add_train_parser
      from snips_nlu.cli.versions import (
          add_version_parser,
          add_model_version_parser,
      )
  
      arg_parser = argparse.ArgumentParser(
          description="Snips NLU command line interface",
          prog="python -m snips_nlu",
          formatter_class=Formatter,
      )
      arg_parser.add_argument(
          "-v",
          "--version",
          action="store_true",
          help="Print package version",
      )
      subparsers = arg_parser.add_subparsers(
          title="available commands", metavar="command [options ...]"
      )
      add_generate_dataset_subparser(
          subparsers, formatter_class=Formatter
      )
      add_train_parser(subparsers, formatter_class=Formatter)
      add_parse_parser(subparsers, formatter_class=Formatter)
      add_download_parser(subparsers, formatter_class=Formatter)
      add_download_all_languages_parser(
          subparsers, formatter_class=Formatter
      )
      add_download_entity_parser(subparsers, formatter_class=Formatter)
      add_download_language_entities_parser(
          subparsers, formatter_class=Formatter
      )
      add_link_parser(subparsers, formatter_class=Formatter)
      add_cross_val_metrics_parser(
          subparsers, formatter_class=Formatter
      )
      add_train_test_metrics_parser(
          subparsers, formatter_class=Formatter
      )
      add_version_parser(subparsers, formatter_class=Formatter)
      add_model_version_parser(subparsers, formatter_class=Formatter)
      return arg_parser
  
imports: import argparse
label_desc: Use image node_id 1 for calling a global function with example usage: get_arg_parser() and returns: arg_parser