def METHOD_NAME(self, config_dict):
    parser = self.get_parser()
    self.add_options(parser)
    options, _ = parser.parse_args()
    if options.debug:
        weewx.debug = options.debug
    self.do_options(options, parser, config_dict, not options.noprompt)