Skip to content

keith/contacts-cli

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

contacts-cli

A simple script for querying contacts from the command line.

Usage:

$ contacts query
NAME	EMAIL
query@example.com	First Last

Installation

brew install keith/formulae/contacts-cli

OR

make install

mutt integration

Somewhere in your muttrc:

set query_command="contacts '%s'"
bind editor <Tab> complete-query
Notes
  • This is a simplified replacement for the unmaintained contacts
  • 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