code: def AddArguments(cls, argument_group):
      
      argument_group.add_argument(
          '--server', dest='server', type=str, action='store',
          default=cls._DEFAULT_SERVER, metavar='HOSTNAME',
          help='The hostname or server IP address of the server.')
      argument_group.add_argument(
          '--port', dest='port', type=int, action='store',
          default=cls._DEFAULT_PORT, metavar='PORT',
          help='The port number of the server.')
docs: Adds command line arguments the helper supports to an argument group.
  
      This function takes an argument parser or an argument group object and adds
      to it all the command line arguments this helper supports.
  
      Args:
        argument_group (argparse._ArgumentGroup|argparse.ArgumentParser):
            argparse group.