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
// Sets your Omnifocus mail drop email
of config --maildrop firstname.lastname@example.org
// Sets your gmail username
of config --username email@example.com
// Sets your gmail password
of config --password secretpassword
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!