appstoreconnect-cli
appstoreconnect-cli copied to clipboard
Command to synchronise user config with AppStoreConnect
As a user I want to be able to synchronise AppStore Connect users with a file So that I can keep my user configuration in source control and practice infrastructure-as-code principles with AppStore Connect.
I should be able to have a file that contains the canonical information about users in App Store Connect.
Ideally this command should not require state. It would consider the input files as the canonical source of information and push that into the AppStore Connect API.
You would have a file (yaml, csv, json) on disk that would have all the details of users, their roles and the apps they should have access to. If the CLI had the right level of permissions on the account it could create/delete/modify all users.
⚠️ The tool should support a --dry-run
option that only prints what would happen and doesn't actually take action on the AppStore Connect API.
🚨Note that this sync
function should never delete users with the ACCOUNT_HOLDER
role. It probably can't anyway but it shouldn't try.
For users who are not in AppStore connect but in local config files, do we want to send invitation to them?
@DechengMa Yep, they should get an invite which is a seperate API.