code: def add_download_parser(subparsers, formatter_class):
      subparser = subparsers.add_parser(
          "download",
          formatter_class=formatter_class,
          help="Download the language resources required by the snips-nlu "
          "library",
      )
      subparser.add_argument(
          "resource_name",
          type=str,
          help="Name of the language resources to download. Can be either "
          "a shortcut, like 'en', or the full name of the resources "
          "like 'snips_nlu_en'",
      )
      subparser.add_argument(
          "-d",
          "--direct",
          action="store_true",
          help="Force direct download. Needs resource name with version and "
          "won't perform compatibility check",
      )
      subparser.add_argument(
          "extra_pip_args",
          nargs="*",
          type=str,
          help="Additional arguments to be passed to `pip install` when "
          "installing the language resources package",
      )
      subparser.set_defaults(func=_download)
      return subparser
  
file_path: snips-nlu/snips_nlu/cli/download.py
imports: from __future__ import print_function, unicode_literals
label_desc: Use image node_id 1 for calling a global function with example usage: add_download_parser(subparsers, formatter_class) and returns: subparser