support json quoting in output-template

This commit is contained in:
Daniel Barlow
2024-08-10 23:42:08 +01:00
parent ba21384fde
commit 3c353e4aff
3 changed files with 23 additions and 0 deletions

View File

@@ -1,2 +1,3 @@
wpa_passphrase={{ secret "colours/black" }}
think = {{ string.format("%q", secret("colours/blue")) }}
argonaut = {{ json_quote "hello\ngoodbye\tnext\027" }}