ittybittyapps / appstoreconnect-cli

An easy to use command-line tool for interacting with the Apple AppStore Connect API
MIT License
173 stars 17 forks source link

Implement sync testflight config command #203

Open DechengMa opened 4 years ago

DechengMa commented 4 years ago

Implement Sync TestFlight Configuration Command for syncing local and server TestFlight configs.

Support:

📝 Summary of Changes

Changes proposed in this pull request:

⚠️ Items of Note

Due to the number of API calls, the pull config from server command will take a considerable amount of time.

Limitations:

🧐🗒 Reviewer Notes

💁 Example

Usage: asc testflight sync pull [--output-path <output-path>] asc testflight sync push [--input-path <input-path>] [--dry-run] [--refresh-local]

🔨 How To Test

swift run asc testflight sync pull swift run asc testflight sync push --dry-run swift run asc testflight sync push

orj commented 4 years ago

Regarding the speed of the process, is there any way we could use the ASC API's ability to include sub-resources in requests to create/update? See the WWDC20 video https://developer.apple.com/videos/play/wwdc2020/10004/ from about the 9 minute mark.