docs: def run(self):
          '''This method runs the the plugin in the appropriate mode parsed from
          the command line options.
          '''
          handle = 0
          handlers = {
             Modes.ONCE: once,
             Modes.CRAWL: crawl,
             Modes.INTERACTIVE: interactive,
          }
          handler = handlers[self.mode]
          patch_sysargv(self.url or 'plugin://%s/' % self.plugin.id, handle)
          return handler(self.plugin)