code: def _parse_flags(_) -> argparse.Namespace:
      """Command line flags."""
      parser = argparse_flags.ArgumentParser(
          prog="convert_dataset",
          description="Tool to add hugging face datasets",
      )
      parser.add_argument(
          "--nlp_path",
          type=pathlib.Path,
          help="Path of the nlp directory",
      )
      parser.add_argument(
          "--dataset_name",
          type=str,
          help="Name of dataset to be converted. Ex. esnli",
      )
      parser.add_argument(
          "--dataset_type",
          type=str,
          help="Type of dataset. Ex. text, question_answering",
      )
      return parser.parse_args()
  
file_path: datasets/tensorflow_datasets/scripts/cleanup/convert_nlp.py
imports: import argparse
  import pathlib
  import re
  from absl import app
  from absl.flags import argparse_flags
  import tensorflow_datasets.public_api
  from tensorflow_datasets.scripts.cli import new
label_desc: Use image node_id 1 for calling a global function with example usage: _parse_flags(_) and returns: parser