~shulhan/awwan#1: 
Exit immediately if variable not found when executing or copying file

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".

Status
RESOLVED CLOSED
Submitter
~shulhan
Assigned to
Submitted
2 years ago
Updated
1 year, 2 months ago
Labels
No labels applied.