def METHOD_NAME(self) -> None:
    parser = ArgumentParser(usage=__doc__)
    subparsers = parser.add_subparsers()
    parser_detect = subparsers.add_parser('detect')
    parser_detect.set_defaults(func=self.spd_detect)
    parser_dump = subparsers.add_parser('dump')
    parser_dump.add_argument('dev', type=str, nargs='?', default=None, help="Device")
    parser_dump.set_defaults(func=self.spd_dump)
    parser_read = subparsers.add_parser('read')
    parser_read.add_argument('dev', type=str, help="Device Address")
    parser_read.add_argument('off', type=lambda x: int(x, 16), nargs='?', default=None, help="Offset (hex)")
    parser_read.set_defaults(func=self.spd_read)
    parser_write = subparsers.add_parser('write')
    parser_write.add_argument('dev', type=str, help="Device Address")
    parser_write.add_argument('off', type=lambda x: int(x, 16), help="Offset (hex)")
    parser_write.add_argument('val', type=lambda x: int(x, 16), help="Byte Value (hex)")
    parser_write.set_defaults(func=self.spd_write)
    parser.parse_args(self.argv, namespace=self)