This repository has been archived on 2025-09-03. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
Alicja Cięciwa cb8886666c login page
2020-10-27 12:57:58 +01:00

21 lines
492 B
Python

# -*- coding=utf-8 -*-
from __future__ import absolute_import, print_function, unicode_literals
def sync(project=None, dev=False, clean=True):
from passa.models.synchronizers import Synchronizer
from passa.operations.sync import sync
project = project
syncer = Synchronizer(
project, default=True, develop=dev,
clean_unneeded=clean,
)
success = sync(syncer)
if not success:
return 1
print("Synchronized project at", project.root)