code: def run(self, argv):
          
          command = argv[0]
          handlers = { 
              'cancel': self.cancel,
              'create': self.create,
              'events': self.events,
              'finalize': self.finalize,
              'list': self.list,
              'pause': self.pause,
              'preview': self.preview,
              'results': self.results,
              'searchlog': self.searchlog,
              'summary': self.summary,
              'perf': self.perf,
              'timeline': self.timeline,
              'touch': self.touch,
              'unpause': self.unpause,
          }
          handler = handlers.get(command, None)
          if handler is None:
              error("Unrecognized command: %s" % command, 2)
          handler(argv[1:])
docs: Dispatch the given command.