code: def add_cmdline_args(
      cls, parser: ParlaiParser, partial_opt: Optional[Opt] = None
  ) -> ParlaiParser:
      parser = super().add_cmdline_args(parser, partial_opt)
      parser.set_defaults(
          task_prompt="Solve the following math problem. Show your work."
      )
      parser.add_argument(
          "--math_dataset-domains",
          nargs="+",
          default=DOMAINS,
          choices=DOMAINS,
      )
      parser.add_argument(
          "--math-latex-converter",
          type=bool,
          default=False,
      )
      parser.add_argument(
          "--extrinsic-step",
          type=bool,
          default=False,
      )
      return parser
  
imports: import glob
  import json
  import os
  import random
  import re
  from parlai.tasks.math_dataset.build import build
  from parlai.core.opt import Opt
  from parlai.core.params import ParlaiParser
  from parlai.utils.io import PathManager
  from typing import List, Optional
  from parlai.tasks.reasoning.agents import MWPStepsReasoningTeacher
label_desc: Use image node_id 1 for calling the MathDatasetStepByStepReasoningTeacher obj's underlying member method code with example usage: obj.add_cmdline_args(cls, parser, partial_opt) and returns: parser