Save macOS contacts to Apple's Contacts.app from command line.
Jodie
is named for for Jodie Foster for her stellar performance in the movie Contact.
this is a work in progress.
clone
# Clone the repo
git clone [email protected]:hernamesbarbara/jodie.git
cd jodie/
pip install .
jodie-cli --help
jodie - Manage macOS Contacts.app from command line!
Usage:
jodie new [EMAIL NAME COMPANY TITLE NOTE...]
jodie new [options]
jodie parse [options] TEXT
Arguments:
EMAIL Email address for the contact you want to create.
NAME Full name for the contact you want to create.
COMPANY Company name.
TITLE Job title.
NOTE Any text you want to save in the `Note` field in Contacts.app.
TEXT Text for jodie to try her best to parse semi-intelligently if she can.
Options:
-C COMPANY --company=COMPANY Company name.
-E EMAIL --email=EMAIL Email.
-F FIRST --first=FIRST First name.
-L LAST --last=LAST Last name.
-N NOTE --note=NOTE Any text you want to save in the `Note` field in Contacts.app.
-P PHONE --phone=PHONE Phone.
-T TITLE --title=TITLE Job title.
-X TEXT --text=TEXT Text for jodie to try her best to parse semi-intelligently if she can.
-U NAME --full-name=NAME Full name.
-W WEBSITE --website=WEBSITE Website / URL.
-H --help Show this screen.
-V --version Show version.
jodie-cli new \
--email "[email protected]" \
--first john99 \
--last doe99 \
--company "AcmeCo Inc" \
--title "Founder" \
--website "https://example.com" \
--phone "+1 555 555 5555"
jodie-cli new \
--email "[email protected]" \
--full-name "john999 doe999" \
--company "AcmeCo Inc" \
--title "Founder" \
--website "https://example.com" \
--note "this is my horse."