@@ -0,0 +1,572 @@
+from django.apps import apps%0Afrom django.core.management.base import BaseCommand%0A%0Afrom share.tasks import run_harvester%0A%0A%0Aclass Command(BaseCommand):%0A%0A    def add_arguments(self, parser):%0A        parser.add_argument('harvester', type=str, help='The name of the harvester to run')%0A        parser.add_argument('--async', action='store_true', help='Whether or not to use Celery')%0A%0A    def handle(self, *args, **options):%0A        if options%5B'async'%5D:%0A            run_harvester.apply_async((options%5B'harvester'%5D,))%0A        else:%0A            run_harvester(options%5B'harvester'%5D)%0A

Add a command for running harvesters