code: def add(self, command_template, job_class):
          
          job = JobTemplate(command_template.alias,
              command_template=command_template,
              depends_on=command_template.depends_on, queue=self.queue,
              job_class=job_class)
          self.queue.push(job)
docs: Given a command template, add it as a job to the queue.