nix-super/doc/manual/rl-next/arg-from-file.md

10 lines
349 B
Markdown
Raw Normal View History

2024-03-04 13:48:21 +02:00
---
synopsis: "CLI options `--arg-from-file` and `--arg-from-stdin`"
prs: 10122
---
The new CLI option `--arg-from-file` *name* *path* passes the contents
of file *path* as a string value via the function argument *name* to a
Nix expression. Similarly, the new option `--arg-from-stdin` *name*
reads the contents of the string from standard input.