Skip to content

Allow string arguments to be read from files. - #316

Merged
Mic92 merged 3 commits into
NixOS:masterfrom
andrewla:external-strings
Sep 11, 2021
Merged

Mic92 merged 3 commits into
NixOS:masterfrom
andrewla:external-strings

Conversation

@andrewla

Copy link
Copy Markdown
Contributor

If a string argument to an option is prefixed with @, then a file with the
following name will be read into that string.

Thank you!

Please do your best to include a regression test
so that the quality of future releases can be preserved.

If a string argument to an option is prefixed with @, then a file with the
following name will be read into that string.
@andrewla

Copy link
Copy Markdown
Contributor Author

This relates (tangentially) to #256, as testing that fix gets much simpler with this functionality. I think this change has enough merits in its own right, though.

@Mic92
Mic92 merged commit 88177c4 into NixOS:master Sep 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants