Ejemplo n.º 1
0
 def handle(self, app, prog, name, remaining_args):
     if not remaining_args:
         remaining_args = ["help"]
     from celery.bin.celeryctl import celeryctl as ctl
     celery = Celery(app)
     ctl(celery).execute_from_commandline(
             ["%s celeryctl" % prog] + remaining_args)
Ejemplo n.º 2
0
 def handle(self, app, prog, name, remaining_args):
     if not remaining_args:
         remaining_args = ["help"]
     from celery.bin.celeryctl import celeryctl as ctl
     celery = Celery(app)
     ctl(celery).execute_from_commandline(["%s celeryctl" % prog] +
                                          remaining_args)
Ejemplo n.º 3
0
 def handle(self, app, prog, name, remaining_args):
     if not remaining_args:
         remaining_args = ["help"]
     from celery.bin.celeryctl import celeryctl as ctl
     ctl().execute_from_commandline(remaining_args)