From 1003a18b85cffac4b9a92ee787fd8a9bdfca072d Mon Sep 17 00:00:00 2001 From: Shulhan Date: Fri, 3 Oct 2025 00:15:29 +0700 Subject: all: add option "$noparse" for magic "#put" command The "$noparse" option allow copying file without reading and parsing the input file. --- testdata/local/put.data | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'testdata/local/put.data') diff --git a/testdata/local/put.data b/testdata/local/put.data index e457391..db50a6d 100644 --- a/testdata/local/put.data +++ b/testdata/local/put.data @@ -2,6 +2,10 @@ The host name is encrypt. +<<< tmp/plain_noparse.txt +The host name is {{.Val "host::name"}}. + + <<< missing_val_encrypted Local: Copy: generateFileInput: template: missing_val_encrypted.txt:2:25: executing "missing_val_encrypted.txt" at <.Val>: error calling Val: "secret::pass" is empty -- cgit v1.3