Closed pragmatic-zac closed 2 months ago
I found that the current implementation seems to only copy top-level files. For example, my source zip file had a file named src/triggers/newProject.ts, and zapier pull didn't copy it to the destination.
I think I address this in a new commit https://github.com/zapier/zapier-platform/pull/838/commits/bd6fe96598f636928cf8784438686cecb71dca35 - cant reproduce this.
Adds a new CLI command:
zapier pull
This command pulls down the source integration from the remote Zapier server. Users may want to use this if the integration has changed since the last push. If changes were made by Zapier, users must run
zapier pull
before making further production level changes. Users are still free to push to new versions.How it works Users will be prompted if they want to proceed, warning that we may overwrite existing files if the differ from the remote source. For each conflicting file, users may evaluate if they want to overwrite it or not. Each file can be subjected to a diff of the changes as well. Once pull is completed, the user can make production level changes.