Given the following configuration on awwan.env
,
[app]
address = 127.0.0.1
and content of file config.ini
to be copied,
address = {{.Val "app::adddress"}}
When issuing #put:
command to copy the file to remote,
10: #put: {{.ScriptDir}}/config.ini /data/app/config.ini
...
----
$ awwan play script.aww 10 -
It should exit immediately if awwan cannot find the variable "app::adddress".