Skip to content
This repository has been archived by the owner on Aug 17, 2023. It is now read-only.

Latest commit

 

History

History
117 lines (84 loc) · 2.15 KB

README.md

File metadata and controls

117 lines (84 loc) · 2.15 KB

Build Status npm npm Known Vulnerabilities

did

A dead-simple, cli-based task journaler. It helps you remember what you did!

asciicast

Installation

did can be installed directly from npm:

[sudo] npm install -g node-did

Usage

To record an entry:

did Installed Gentoo.

To record an entry using EDITOR (will open in the terminal in focus):

did

To view recent entries:

did log

To view recent entries (last 3 only):

did log -n3

To search for entries about Gentoo:

did log -s gentoo

To search for entries about Gentoo between Monday and today:

did log -s gentoo -f 'last monday' -u 'today'

To view the above in ascending order (ie, oldest first):

did log -s gentoo -f 'last monday' -u 'today' -a

To edit entry 2:

did edit 2 Hacked the Gibson.

To edit entry 2 within EDITOR:

did edit 2

To delete entry 2:

did delete 2

To delete entries 2 and 3:

did delete 2 3

Tagging

did provides full-text searching on log entries, and thus implicitly supports "tagging":

$ did Installed Gentoo. +work
$ did Freed Kevin. +personal
$ did Hacked the planet. +work 
$ did log -s +personal
3  Freed Kevin. +personal  06 Jan | 05:29 PM

You may choose any tagging convention. Note, however, that # must be enclosed within quotations to prevent the shell from parsing it as a comment:

$ did 'Hacked the planet. #work'

Additional Information

Additional information can be found in the wiki: