Giter VIP home page Giter VIP logo

jodie's Introduction

Jodie is a command line tool to quickly save new contacts to Contacts.app on macOS

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.

Installation

clone

# Clone the repo
git clone [email protected]:hernamesbarbara/jodie.git
cd jodie/
pip install .

Usage

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.

Save a new Contact to macOS Address Book / Contacts.app

Example 1
jodie-cli new \
    --email "[email protected]" \
    --first john99 \
    --last doe99 \
    --company "AcmeCo Inc" \
    --title "Founder" \
    --website "https://example.com" \
    --phone "+1 555 555 5555"

Example 2
jodie-cli new \
    --email "[email protected]" \
    --full-name "john999 doe999" \
    --company "AcmeCo Inc" \
    --title "Founder" \
    --website "https://example.com" \
    --note "this is my horse."

jodie's People

Contributors

hernamesbarbara avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.