digital-logbook

Crates.iodigital-logbook
lib.rsdigital-logbook
version0.1.4
sourcesrc
created_at2023-08-05 18:08:09.557473
updated_at2024-01-08 08:39:09.598123
descriptionA command line application for tracking your computer usage times.
homepage
repositoryhttps://codeberg.org/guemax/digital-logbook
max_upload_size
id936672
size145,625
(guemax)

documentation

README

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!
Commit count: 0

cargo fmt