mirror of
https://github.com/crazy-max/diun.git
synced 2025-12-31 18:17:24 +01:00
15 lines
540 B
Markdown
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.
|