Beispiel #1
0
    def _push(self, argv):
        (remote_res, folder) = self._get_and_folder(argv)
        sync = SyncEngine(folder)

        sync.push(remote_res, self._config.options.dry_run)
Beispiel #2
0
    def sync_push(self, opts):
        if opts.path is None:
            raise Exception("You must provide the path to the local folder")

        sync = SyncEngine(opts.path)
        sync.push(self._entity, opts.dry_run)
Beispiel #3
0
    def _push(self, argv):
        (remote_res, folder) = self._get_and_folder(argv)
        sync = SyncEngine(folder)

        sync.push(remote_res, globals.options.dry_run)
Beispiel #4
0
    def sync_push(self, opts):
        if opts.path is None:
            raise Exception("You must provide the path to the local folder")

        sync = SyncEngine(opts.path)
        sync.push(self._entity, opts.dry_run)