~akarle/today

what did you do today?
~akarle/public-inbox

New mailing list added

5 months ago
~akarle/today

New git repository added

5 months ago
TODAY(1)		 General Commands Manual		TODAY(1)

NAME
     today - what did you do today?

SYNOPSIS
     today [-ehi] [-l [NUM]]

DESCRIPTION
     today is a tool for quickly documenting a day's work at the end of
     the day.  today has primitive recall capabilities; it's easy to
     access yesterday's notes but more complex analysis is left to other
     tools like grep(1) and awk(1).  Similarly, establishing any sort of
     tagging system is left as an exercise for the reader.

     today uses ed(1) for edits.  This may add a bit of a learning
     curve, but the lack of a view of the file provides a distraction
     free, append-only mindset for recording whatever is top of mind.

     The options are as follows:

     -e	     Open the log file in your $EDITOR

     -h	     Display the help message and exit

     -i	     Initialize the today repository.

     -l [NUM]
	     List the last NUM days-worth of entries, or all if NUM not
	     given.

ENVIRONMENT
     $TODAY_DIR	     Override the default repo location, $HOME/.today.

     $EDITOR	     Preferred editor for -e flag.

FILES
     $TODAY_DIR	     Git repository

     $TODAY_DIR/log  Log file.	Entries are separated by [YYYY-MM-DD]
		     entries.

EXAMPLES
     One time setup:

	   $ today -i

     Jot down what you did today:

	   $ today
	   ed> a
	   * Learned some mdoc(7)
	   * Rewrote today(1)
	   .
	   ed> wq

     View yesterday's tasks:

	   $ today -l 1
	   [2022-03-02]
	   * wrote some code
	   * went for a walk
	   brag: shipped xyz big feature!

     Search for all brag-document worthy items:

	   $ today -l | grep '^brag:'
	   brag: shipped xyz big feature!

SEE ALSO
     ed(1), git(1)

AUTHORS
     Alex Karle <alex@alexkarle.com>

OpenBSD 7.0		      March 3, 2022		     OpenBSD 7.0