code: def add_batch_parser(subparsers, parent_parser):
      
      parser = subparsers.add_parser(
          'batch',
          help='Displays information about batches and submit new batches',
          description='Provides subcommands to display Batch information and '
          'submit Batches to the validator via the REST API.')
  
      grand_parsers = parser.add_subparsers(title='subcommands',
                                            dest='subcommand')
      grand_parsers.required = True
      add_batch_list_parser(grand_parsers, parent_parser)
      add_batch_show_parser(grand_parsers, parent_parser)
      add_batch_status_parser(grand_parsers, parent_parser)
      add_batch_submit_parser(grand_parsers, parent_parser)
docs: Adds arguments parsers for the batch list, batch show and batch status
      commands
  
          Args:
              subparsers: Add parsers to this subparser object
              parent_parser: The parent argparse.ArgumentParser object