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)
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)
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)