Compare commits
8 Commits
Author | SHA1 | Date |
---|---|---|
isthisnagee | e4886dda7c | 2 years ago |
nagee | aeba4fa53a | 2 years ago |
isthisnagee | ba188c53ee | 3 years ago |
isthisnagee | d00ceceeec | 3 years ago |
isthisnagee | d7b53d74c5 | 3 years ago |
isthisnagee | fe5f8a68a1 | 3 years ago |
isthisnagee | ad01d78765 | 3 years ago |
isthisnagee | f84eb2106e | 3 years ago |
@ -0,0 +1,38 @@
|
||||
# diary
|
||||
|
||||
|
||||
## Installation
|
||||
|
||||
```
|
||||
go install git.nagee.dev/isthisnagee/diary@v0.0.1
|
||||
```
|
||||
|
||||
|
||||
## Configuration
|
||||
|
||||
### Valid locations for the config file
|
||||
|
||||
|
||||
The config file can be passed to the `diary` command through a command line
|
||||
arg. For example: `diary --config=~/.diary.toml`
|
||||
|
||||
When there is no config argument, `diary` looks for the config here:
|
||||
|
||||
- `$HOME/.config/diary/diary.toml`
|
||||
|
||||
|
||||
### Configuration options
|
||||
|
||||
|
||||
#### `db_path`
|
||||
|
||||
- Name: `db_path`
|
||||
- Type: String
|
||||
- Default: `~/.diary.sql`
|
||||
- Description: The location of the sqlite database. If the file does not exist,
|
||||
it will be created.
|
||||
|
||||
```
|
||||
db_path = "path/to/wherever/you/want/the/db/file"
|
||||
```
|
||||
|
Loading…
Reference in new issue