code: def register_subcommand(self, command_info: CommandInfo):
      command_info.is_subcommand_info_or_raise()
      self.SUBCOMMANDS = self.SUBCOMMANDS + (command_info,)
      self.registered_subcommands.append(
          command_info.subcommand_class(
              self.subparsers, command=command_info
          )
      )
  
file_path: optimum/optimum/commands/base.py
imports: from abc import ABC
  from argparse import ArgumentParser, RawTextHelpFormatter
  from dataclasses import dataclass
  from typing import TYPE_CHECKING, Optional, Tuple, Type
label_desc: Use image node_id 6 for calling the BaseOptimumCLICommand obj's underlying member method code with example usage: obj.register_subcommand(command_info) without return types