def handle(self, *args, **options): docker = options.get('docker', False) for slug in options['projects']: project_data = api.project(slug).get() p = tasks.make_api_project(project_data) log.info("Building %s" % p) tasks.update_docs.run(pk=p.pk, docker=docker)
def handle(self, *args, **options): docker = options.get('docker', False) for slug in options['projects']: project_data = api.project(slug).get() p = tasks.make_api_project(project_data) log.info("Building %s", p) tasks.update_docs.run(pk=p.pk, docker=docker)
def handle(self, *args, **options): if len(args): for slug in args: project_data = api.project(slug).get() p = tasks.make_api_project(project_data) log.info("Building %s" % p) tasks.update_docs(pk=p.pk)
def handle(self, *args, **options): if len(args): for slug in args: project_data = api.project(slug).get() p = tasks.make_api_project(project_data) log.info("Building %s" % p) tasks.update_docs(pk=p.pk, docker=True)