installation and usage

This commit is contained in:
Sofía Aritz 2025-06-09 21:46:59 +02:00
parent af72a6dc31
commit a273e270c5
Signed by: sofia
GPG key ID: 5A1485B4CCCDDB4A

View file

@ -1 +1,24 @@
# journal
## Usage
```sh
usage: journal [-h] [--journal-dir JOURNAL_DIR] [--editor EDITOR] {create,edit}
Journal
positional arguments:
{create,edit} Command to run (create a new entry, or view and edit an existing one)
options:
-h, --help show this help message and exit
--journal-dir JOURNAL_DIR
Path to your journal directory (default from JOURNAL_DIR env or ~/.journal)
--editor EDITOR Editor to use (default $EDITOR or nano)
```
## Installation
With `python3` installed, create a symlink from `journal.py` to a directory on your $PATH.
E.g. `ln -s ./journal.py ~/.local/bin/journal`