Skip to content
This repository has been archived by the owner on Sep 19, 2021. It is now read-only.

eugenetriguba/of

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Omnifocus CLI

Quickly send items to your Omnifocus inbox

GoDoc Go Report Card Badge codebeat badge Version Badge

The Omnifocus CLI allows you to quickly send a todo to your Omnifocus inbox. It makes use of Omnifocus's mail drop feature. This feature gives you an email address that you can send emails to. When an email is sent to this address, it uses that email to create a todo in your Omnifocus inbox. This CLI allows you to quickly send that email using an of command.

Before you can start sending todos into your inbox, you'll have to setup a few pieces of configuration.

// Sets your Omnifocus mail drop email
of config --maildrop fake-mailbox@omnisync.com

// Sets your gmail username
of config --username email@gmail.com

// Sets your gmail password
of config --password secretpassword

The gmail password should be a app-specific password, otherwise Gmail will send back an error. See more here: https://support.google.com/accounts/answer/185833

Once configured, you can add todos into your inbox.

$ of add "Go to the grocery store" --note "Make sure to get milk" --attachment "~/report.pdf"
  Successfully sent your todo!

Installation

$ go get -u github.com/eugenetriguba/of