From a5ce656dbbe7cc5594dc3e009ac509d0f191aaaa Mon Sep 17 00:00:00 2001
From: "Hahn Axel (hahn)" <axel.hahn@iml.unibe.ch>
Date: Thu, 1 Apr 2021 11:39:17 +0200
Subject: [PATCH] update readme

---
 readme.md | 22 +++++++++++++++++++++-
 1 file changed, 21 insertions(+), 1 deletion(-)

diff --git a/readme.md b/readme.md
index 3cfb973..401c28b 100644
--- a/readme.md
+++ b/readme.md
@@ -112,4 +112,24 @@ IMLCI_FILE=
 ```
 
 Remark: using the cfg file is optional. It countains default values.
-all values can be set by command line parameters.
\ No newline at end of file
+all values can be set by command line parameters.
+
+Usage of getfile.sh:
+```
+SYNTAX:
+  -d          enable debug infos
+  -e PHASE    phase; overrides env variable IMLCI_PHASE
+  -f FILE     filename to get; overrides env variable IMLCI_FILE
+  -o OUTFILE  optional output file; default; given filename in current directory
+  -p PROJECT  ci project id; overrides env variable IMLCI_PROJECT
+  -s SECRET   override secret in IMLCI_PKG_SECRET
+  -u URL      URL of iml ci server without trailing /; overrides env variable IMLCI_URL
+
+DEFAULTS:
+  You don't need to set all values by command line. Use a config to set defaults
+  ./getfile.sh.cfg
+
+EXAMPLES:
+  getfile.sh -u https://ci.example.com -f [FILE]
+
+```
\ No newline at end of file
-- 
GitLab