camqadm.py 472 B

123456789101112131415161718
  1. """
  2. Celery AMQP Administration Tool using the AMQP API.
  3. """
  4. from django.core.management.base import BaseCommand
  5. from celery.bin.camqpadm import camqadm, OPTION_LIST
  6. class Command(BaseCommand):
  7. """Run the celery daemon."""
  8. option_list = BaseCommand.option_list + OPTION_LIST
  9. help = 'Celery AMQP Administration Tool using the AMQP API.'
  10. def handle(self, *args, **options):
  11. """Handle the management command."""
  12. camqadm(*args, **options)