Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/keith/contacts-cli
Query macOS contacts from the command line
https://github.com/keith/contacts-cli
command-line contacts macos mutt osx
Last synced: 17 days ago
JSON representation
Query macOS contacts from the command line
- Host: GitHub
- URL: https://github.com/keith/contacts-cli
- Owner: keith
- License: mit
- Created: 2015-09-08T08:12:38.000Z (about 9 years ago)
- Default Branch: main
- Last Pushed: 2024-01-14T14:23:17.000Z (10 months ago)
- Last Synced: 2024-10-12T06:08:17.052Z (about 1 month ago)
- Topics: command-line, contacts, macos, mutt, osx
- Language: Swift
- Homepage:
- Size: 20.5 KB
- Stars: 59
- Watchers: 8
- Forks: 7
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# contacts-cli
A simple script for querying contacts from the command line.
## Usage:
```sh
$ contacts query
NAME EMAIL
[email protected] First Last
```## Installation
```sh
brew install keith/formulae/contacts-cli
```OR
```sh
make install
```### [mutt](http://www.mutt.org/) integration
Somewhere in your `muttrc`:
```
set query_command="contacts '%s'"
bind editor complete-query
```##### Notes
- This is a simplified replacement for the unmaintained
[contacts](http://www.gnufoo.org/contacts/contacts.html)
- This is distributed as a compiled executable rather than a swift
script to help with swift compatibility during new releases.
- If you have trouble running the script inside tmux see [this
issue](https://github.com/ChrisJohnsen/tmux-MacOSX-pasteboard/issues/43)