コード例 #1
0
ファイル: sync.py プロジェクト: comodit/comodit-client
    def _push(self, argv):
        (remote_res, folder) = self._get_and_folder(argv)
        sync = SyncEngine(folder)

        sync.push(remote_res, self._config.options.dry_run)
コード例 #2
0
ファイル: items.py プロジェクト: comodit/comodit-client
    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)
コード例 #3
0
ファイル: sync.py プロジェクト: MaximeBou/comodit-client
    def _push(self, argv):
        (remote_res, folder) = self._get_and_folder(argv)
        sync = SyncEngine(folder)

        sync.push(remote_res, globals.options.dry_run)
コード例 #4
0
ファイル: items.py プロジェクト: MaximeBou/comodit-client-1
    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)