Search macOS Contacts and output data for aerc email client.
This is a fork of https://github.com/keith/contacts-cli/ which is released under MIT. This code is also released under the MIT license.
brew tap crocmagnon/homebrew-formulae https://git.sr.ht/~crocmagnon/homebrew-formulae brew install aerc-contacts
aerc-contacts John Doe
This will output all emails and contact names matching "John" and "Doe" in either the first name, last name or email fields.
You should use it in your