Files
diun/doc/usage.md
2020-05-26 04:55:23 +02:00

15 lines
540 B
Markdown

# Usage
## Command line
`diun --config=STRING`
* `--help`: Show help text and exit.
* `--version`: Show version and exit.
* `--config <path>`: Diun YAML configuration file. **Required**. (e.g. `diun.yml`).
* `--timezone <timezone>`: Timezone assigned to Diun. (default `UTC`).
* `--log-level <level>`: Log level output. (default `info`).
* `--log-json`: Enable JSON logging output. (default `false`).
* `--log-caller`: Add file:line of the caller to log output. (default `false`).
* `--test-notif`: Enable to test notification settings.