def METHOD_NAME(self, args):
    parser = ArgumentParser(usage="%(prog)s - CometVisu documentation scaffolder")
    parser.add_argument("--force", "-f", dest="force", action='store_true', help="force existing docs to be overridden")
    parser.add_argument("--language", "-l", dest="language", default="de",
                        help="Language the widget docs should be generated for")
    parser.add_argument("--widget", "-w", dest="widget",
                        help="Name of the widget to generate docs for")
    parser.add_argument("--plugin", "-p", dest="plugin",
                        help="Name of the plugin to generate docs for")
    options = parser.parse_args(args)
    if 'widget' not in options and 'plugin' not in options:
        self.log.error("please provide a widget or plugin name")
        print(options)
        exit(1)
    if 'widget' in options and options.widget is not None and \
                    'plugin' in options and options.plugin is not None:
        self.log.error("please provide either a widget or a plugin name")
        exit(1)
    self.generate(options.language,
              options.widget if 'widget' in options else None,
              options.plugin if 'plugin' in options else None,
              force=options.force