View Single Post
This is the reply generated by entering the code above:

Last login: Mon Feb 11 16:27:34 on ttys000
Bill-Westwoods-MacBook-Pro:~ billwestwood$ /usr/local/bin/dayone
Usage: dayone [-d=<date>] [-s=true|false] [-p=<path>]
[-j=<path>] [-h] <command>
Options:
-d, --date=<date> Creation date of the entry.
-s, --starred=true|false Starred value.
-p, --photo-file=<path> File path to a photo to attach to entry.
-j, --journal-file=<path> Location of Day One Journal file.
-h, --help Show this information.

Commands:
new Adds a new entry using text from stdin

Examples:
dayone new
Waits for you type something and then creates a new entry in the default journal

echo "Hello World" | dayone new
Creates a new entry containing the specified text

dayone new < ~/Desktop/note.txt
Creates a new entry containing the contents of the file note.txt