added environment variable support

This commit is contained in:
2024-01-17 14:03:43 +01:00
parent 7e2161d4d4
commit 21ca5c626f
7 changed files with 69 additions and 2 deletions

View File

@@ -128,6 +128,13 @@ loglevel = verbose
outdir = "test"
```
## Environment Variables
Kleingebaeck can also be configured using environment variables. Just prefix the config variables with `KLEINGEBAECK_` and put them to upper case. Eg:
```shell
% KLEINGEBAECK_OUTDIR=/backup kleingebaeck -v
```
## Usage
To setup the tool, you need to lookup your userid on