We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a00ec87 commit 6ae421bCopy full SHA for 6ae421b
docs/cli-usage.rst
@@ -170,6 +170,25 @@ In `/path/to/helper.sh`:
170
171
#!/bin/bash
172
pass show path/to/password | head -n 1
173
+
174
+Example for an `environnement variable`:
175
176
+.. code-block:: ini
177
178
+ [global]
179
+ default = somewhere
180
+ ssl_verify = true
181
+ timeout = 5
182
183
+ [somewhere]
184
+ url = http://somewhe.re
185
+ private_token = helper: printf -- '%%s' ${GITLAB_TOKEN}
186
+ timeout = 1
187
188
+**Notice:**
189
190
+ * ``printf`` is the executable provided by coreutils package (on a debian based distribution).
191
+ * ``%`` must be escaped using an other `%` (in order to allow `configparser` load configuration properly.
192
193
CLI
194
===
0 commit comments