Crates.io | digital-logbook |
lib.rs | digital-logbook |
version | 0.1.4 |
source | src |
created_at | 2023-08-05 18:08:09.557473 |
updated_at | 2024-01-08 08:39:09.598123 |
description | A command line application for tracking your computer usage times. |
homepage | |
repository | https://codeberg.org/guemax/digital-logbook |
max_upload_size | |
id | 936672 |
size | 145,625 |
Digital Logbook—A command line application for tracking your computer usage times. Currently under development.
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):
logbook --help
logbook -h
logbook help
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
logbook finish --description "Hello World!"
logbook show # Short for `logbook show --all`
logbook show --date "2023-11-11"
logbook show --day 11 --description "Hello World!"
logbook report
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!