2020-07-05 15:44:22 +02:00
|
|
|
# aerc-contacts
|
2020-07-05 15:31:23 +02:00
|
|
|
|
2020-07-05 16:51:34 +02:00
|
|
|
Search macOS Contacts and output data for aerc email client.
|
|
|
|
|
2021-02-09 08:04:20 +01:00
|
|
|
The authoritative source for this repo is at https://git.augendre.info/gaugendre/aerc-contacts-macos
|
|
|
|
|
2020-07-05 16:51:34 +02:00
|
|
|
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.
|
2020-07-05 15:54:35 +02:00
|
|
|
|
|
|
|
## Installation
|
|
|
|
```shell script
|
|
|
|
make install
|
|
|
|
```
|
|
|
|
|
2020-07-05 16:43:45 +02:00
|
|
|
OR
|
|
|
|
|
|
|
|
```shell script
|
2021-02-08 17:30:59 +01:00
|
|
|
brew tap crocmagnon/homebrew-formulae https://git.augendre.info/gaugendre/aerc-contacts-macos.git
|
2020-07-05 16:43:45 +02:00
|
|
|
brew install aerc-contacts
|
|
|
|
```
|
|
|
|
|
2020-07-05 15:54:35 +02:00
|
|
|
## Usage
|
|
|
|
```shell script
|
|
|
|
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.
|
2020-07-05 16:44:53 +02:00
|
|
|
|
|
|
|
You should use it in your `aerc.conf`:
|
|
|
|
|
|
|
|
```
|
|
|
|
address-book-cmd=aerc-contacts %s
|
|
|
|
```
|
2022-01-02 19:29:26 +01:00
|
|
|
|
|
|
|
# Reuse
|
|
|
|
If you do reuse my work, please consider linking back to this repository 🙂
|