#time-tracking #command-line #computer #applications #digital #computer-usage-times

app digital-logbook

A command line application for tracking your computer usage times

5 releases

0.1.4 Jan 8, 2024
0.1.3 Nov 25, 2023
0.1.2 Nov 19, 2023
0.1.1 Aug 5, 2023
0.1.0 Aug 5, 2023

#2013 in Command line utilities

GPL-3.0-or-later

61KB
1.5K SLoC

Digital Logbook—A command line application for tracking your computer usage times. Currently under development.

Walkthrough

Although this program is not fully working yet and many commands do not exist at this stage, this will be the usage (might change a little bit during development):

Displaying help information

logbook --help
logbook -h
logbook help

Creating an entry

logbook create

If an unfinished entry is already existing, we need to either finish it first or force the creation of a new one, essentially overwriting it.

logbook create --force # Or...
logbook create -f

Finishing an entry

logbook finish --description "Hello World!"

Showing entries

logbook show # Short for `logbook show --all`
logbook show --date "2023-11-11"
logbook show --day 11 --description "Hello World!"

Displaying a report of today

logbook report

Entering the interactive REPL

To simplify entering the commands, we can enter an interactive Read-Eval-Print-Loop (REPL), so we don't need to type `logbook` over and over.

logbook
(logbook) # All of the commands shown above are available in here.
(logbook) help
(logbook) create
(logbook) finish --description "Hi!"
(logbook) show
(logbook) report
(logbook) # Quit the REPL it by entering exit, quit or q.
(logbook) quit
# Thank you for reading this introduction!

Dependencies

~21–34MB
~503K SLoC