This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// In order to use the script, | |
// you must create a Slack bot | |
// with the user:read scope and | |
// generate an accesss token. | |
// The script will prompt you | |
// to copy the access token in. | |
// The token is stored securely | |
// in the keychain. | |
let containers = await ContactsContainer.all() | |
let contacts = await Contact.all(containers) |
NewerOlder