class_docstr: The TextAttack benchmark recipe module:
  
  A command line parser to benchmark a recipe from user
  specifications.
class_docstr_tok: ["The","TextAttack","benchmark","recipe","module",":","A","command","line","parser","to","benchmark","a","recipe","from","user","specifications","."]
code: def register_subcommand(main_parser: ArgumentParser):
      parser = main_parser.add_parser(
          "benchmark-recipe",
          help="benchmark a recipe",
          formatter_class=ArgumentDefaultsHelpFormatter,
      )
      parser.set_defaults(func=BenchmarkRecipeCommand())
  
imports: from argparse import ArgumentDefaultsHelpFormatter, ArgumentParser
  from textattack.commands import TextAttackCommand
label_desc: Use image node_id 2 for calling the BenchmarkRecipeCommand obj's underlying member method code with example usage: obj.register_subcommand(main_parser) without return types