Skip to content

Commit bd9cf8e

Browse files
authored
add env docs to README (#19)
1 parent c5b46ad commit bd9cf8e

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

README.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ If you have Clojure [CLI tools](https://clojure.org/guides/deps_and_cli) install
4444

4545
Install it with:
4646
```bash
47-
clj -Ttools install io.lambdaforge/wanderung '{:git/url "https://github.com/lambdaforge/wanderung" :git/tag "v0.2.65"}' :as wanderung
47+
clj -Ttools install io.lambdaforge/wanderung '{:git/url "https://github.com/lambdaforge/wanderung" :git/tag "v0.2.67"}' :as wanderung
4848
```
4949

5050
Make sure it is installed with:
@@ -57,6 +57,18 @@ Run it with:
5757
clj -Twanderung migration :source '"./source-cfg.edn"' :target '"./target-cfg.edn"'
5858
```
5959

60+
or with environment variables either inside `:source` and `:target` with your own naming:
61+
```bash
62+
MY_SOURCE_CFG=./source-cfg.edn
63+
MY_TARGET_CFG=./target-cfg.edn
64+
clj -Twanderung m :source 'MY_SOURCE_CFG' :target 'MY_TARGET_CFG'
65+
```
66+
67+
or with global environment variables defined by wanderung:
68+
```bash
69+
WANDERUNG_SOURCE=./source-cfg.edn WANDERUNG_TARGET=./target-cfg.edn clj -Twanderung migrate
70+
```
71+
6072
Show help with:
6173
```bash
6274
clj -Twanderung help

0 commit comments

Comments
 (0)