def _pull(self, argv): (remote_res, folder) = self._get_and_folder(argv) sync = SyncEngine(folder) sync.pull(remote_res, self._config.options.dry_run)
def sync_pull(self, opts): if opts.path is None: raise Exception("You must provide the path to the local folder") sync = SyncEngine(opts.path) sync.pull(self._entity, opts.dry_run)
def _pull(self, argv): (remote_res, folder) = self._get_and_folder(argv) sync = SyncEngine(folder) sync.pull(remote_res, globals.options.dry_run)