Files
diun/doc/usage.md
CrazyMax ab56764464 Switch to kong command-line parser (#66)
* Update workflows

Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-05-08 19:30:56 +02:00

14 lines
484 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`).