daily-event-logger/README.md

41 lines
986 B
Markdown
Raw Normal View History

2022-10-01 00:25:05 +02:00
# daily-event-logger
2022-09-29 00:57:58 +02:00
This is a little utility I use for logging my daily activities and events. It is written in Python.
## Install
2022-09-29 01:21:54 +02:00
2022-09-30 18:53:36 +02:00
```bash
2022-10-01 00:25:05 +02:00
python3 -m pip install daily-event-logger
2022-09-29 01:21:54 +02:00
```
## Usage
2022-10-01 00:25:05 +02:00
To change the directory where elogs are stored, set a shell environment variable ELOG_DIR. To make this change permament, set the following in your shell configuration:
```bash
export ELOG_DIR="/path/to/elog/dir"
```
Otherwise, the default elog directory will be `~/elogs`.
To get started, add your first elog entry! This will create a JSON file under your elog directory for the day and ensure the elog directory exists. E.g.:
```bash
elog add -m "Started new elog. Yay!"
```
2022-09-30 18:53:36 +02:00
```bash
usage: elog [-h] [-v] {add,edit,rm,ls,lsfiles,search} ...
positional arguments:
{add,edit,rm,ls,lsfiles,search}
options:
-h, --help show this help message and exit
-v, --version Print version information
```
2022-09-29 01:21:54 +02:00
### Example list output
2022-09-29 00:57:58 +02:00
![screenshot.png](/screenshot.png)