aboutsummaryrefslogtreecommitdiffstats
path: root/CHANGELOG.md
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-12-02 17:50:30 +0000
committertv <tv@krebsco.de>2026-12-02 17:50:30 +0000
commit9f64a8d003bd301a6499bf7a6f60e6cf0b533162 (patch)
treeba74b70f52fe6eb0c639e272709b1ae33dd8d201 /CHANGELOG.md
parent2be9ca2b75d099a9ca04078f2182acda074ed270 (diff)
config: a named importer used with several variablesHEADmaster
In a file, { NAME = { host = "…", key = "…" } } uses the importer NAME with those variables; { NAME = "REST" } is short for the one variable `name`, which the argument and the placeholder give. A variable the importer is given and never asks for is an error naming it and those it takes, as one it asks for and isn't given is; one that takes none is used with nothing after its name. Such a use is shown as NAME(host = …, key = …), as written, and Source::Named holds the variables, for a program that reports by them.
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r--CHANGELOG.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 3fe9e73..76968c0 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -39,7 +39,8 @@ it from the release before ([`docs/operations.md`](docs/operations.md),
* A configuration names importers of its own: `[meta.importer]` in a file, or
`--meta-importer-NAME IMPORTER`, makes `NAME:REST`, `{ NAME = "REST" }` and
`$(NAME:REST)` that importer, with `REST` as its variable `name`: a secret store's
- command is written once, `pass = { command = ["pass", "show", "$(var:name)"] }`. A
+ command is written once, `pass = { command = ["pass", "show", "$(var:name)"] }`. In a
+ file, one may be used with several variables, `{ NAME = { host = "…", key = "…" } }`. A
top-level `meta` in a configuration file is this table's now
([`docs/configuration.md`](docs/configuration.md),
[Naming importers](docs/configuration.md#naming-importers);