code: def add_generate_dataset_subparser(subparsers, formatter_class):
      subparser = subparsers.add_parser(
          "generate-dataset",
          formatter_class=formatter_class,
          help="Generate a json dataset from intents and entities yaml files",
      )
      subparser.add_argument(
          "language", type=str, help="Language of the dataset"
      )
      subparser.add_argument(
          "files",
          nargs="+",
          type=str,
          help="List of intent and entity yaml files",
      )
      subparser.set_defaults(func=_generate_dataset)
      return subparser
  
label_desc: Use image node_id 1 for calling a global function with example usage: add_generate_dataset_subparser(subparsers, formatter_class) and returns: subparser