DOKK / manpages / debian 11 / goobook / goobook.1.en
GOOBOOK(1) User Manuals GOOBOOK(1)

goobook - access your Google contacts from mutt or the command line

goobook [ options ] COMMAND

goobook can be used to access your Google contacts from the command line. It can also be easily integrated into MUAs such as mutt. It can be used from mutt the same way as abook.

show the help message and exit
specify alternative configuration file
be verbose about what is going on (stderr)
print version and exit
output debug information to stderr

Allow goobook to access your Google contacts using OAuth2.
Add a new Google contact. If NAME and EMAIL is not specified, read an email address from stdin and add the From: address to your Google contacts.
Display a config template of that can be written to ~/.config/goobookrc.
dump all your contacts to XML (stdout).
dump your contact groups to XML (stdout).
Search contacts for QUERY_STRING, nice vcard like output. QUERY_STRING is a Python flavoured regexp where all ' ' is replaced with .*.
Search contacts for QUERY_STRING, mutt compatible plain text output. --simple output format was requested for use with notmuchmail. QUERY_STRING is a Python flavoured regexp where all ' ' is replaced with .*.
Reload contacts from Google and update cache.

For most users it will be enough to run:

goobook authenticate --help
and follow the instructions

To have access to more advanced options, you can generate a config file by doing:

goobook config-template > ~/.config/goobookrc

An example config can look like this:

[DEFAULT]
cache_expiry_hours: 24


Website: https://pypi.python.org/pypi/goobook/

This manual page has been written by Dariusz Dwornikowski and Christer Sjöholm

2020-09-02