aboutsummaryrefslogtreecommitdiffstats
path: root/CHANGELOG.md
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-30 21:06:06 +0000
committertv <tv@krebsco.de>2026-11-30 21:06:06 +0000
commit34434f7fd5a6bab1884a63c96679f48045f4bffd (patch)
tree7fd27022c2384a4166f97304d81d21e27a463b95 /CHANGELOG.md
parent598caecb7e5470e26379be4b2e199f6656ebb72c (diff)
config: placeholders in parentheses, for where braces are another language's
A placeholder may be written $(env:NAME), $(file:PATH) or $(cmd:COMMAND), ending at the parenthesis matching its own: the same as with braces, nesting and all. A configuration written in Nix, or passed through a systemd unit, needs no escapes so.
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r--CHANGELOG.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 2f363c4..d5c6ac5 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -20,6 +20,13 @@ it from the release before ([`docs/operations.md`](docs/operations.md),
([`docs/configuration.md`](docs/configuration.md),
[Importing values](docs/configuration.md#importing-values)).
+* A placeholder may be written with parentheses, `$(env:NAME)`, `$(file:PATH)`,
+ `$(cmd:COMMAND)`, for a configuration written in a language with a `${…}` of its own
+ (Nix). A shell command in an importer that ran a program named `env:…`, `file:…` or
+ `cmd:…` by `$(…)` writes `$$(`
+ ([`docs/configuration.md`](docs/configuration.md),
+ [Importing values](docs/configuration.md#importing-values)).
+
* Placeholders nest: `${cmd:secrets ${env:HOSTNAME} show x}`, and in a name, a path, a
command and each argument of an importer. What a placeholder gives is never run: an
argument stays one argument, and a shell command gets it as a positional parameter.