installation and usage
This commit is contained in:
parent
af72a6dc31
commit
a273e270c5
1 changed files with 23 additions and 0 deletions
23
README.md
23
README.md
|
@ -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`
|
||||
|
|
Loading…
Reference in a new issue