Coffee Help
All topics

Help Plugins and automation

The coffee command in Terminal

Mac

The coffee command lets you make notes, add to your Inbox, open notes and files, search, and work out sums, all from Terminal.

Copy command, under Terminal command in Settings › AI, plugins and export.
Copy command, under Terminal command in Settings › AI, plugins and export.

Set it up once

  1. Open Settings and go to AI, plugins and export.
  2. Next to Terminal command, click Copy command.
  3. Paste the copied line into Terminal and press Return. It asks for your Mac's password.

What it can do

  • coffee opens Coffee, and coffee file.md opens a file in it.
  • coffee new makes a note, with an optional title and text.
  • coffee add adds a line to Inbox.md.
  • coffee today opens today's note. coffee week and coffee month open this week's and this month's.
  • coffee open opens the note with a title, or searches for it.
  • coffee search searches your notes in Coffee.
  • coffee list prints every note's path, and coffee path prints the notes folder.
  • coffee calc prints the answer to a sum, as a note would show it.
  • coffee help shows all of these.

Example

coffee add buy milk
coffee new "Meeting notes" "Agenda for Monday"
coffee open "Shopping list"
coffee calc "20% of 50"

Good to know

coffee new, coffee add and coffee calc can also take their text on stdin, so you can pipe something in, as in echo "call Ana" | coffee add.

Not what you needed? Write to a person.