1
0
mirror of https://github.com/go-task/task.git synced 2025-02-13 13:59:32 +02:00

Updated README for dynamic variables

Solves #11
This commit is contained in:
Sascha Andres 2017-03-08 08:22:52 +01:00 committed by Andrey Nering
parent fa936a54c0
commit d55eb98477

View File

@ -227,6 +227,10 @@ abc
Result: 'abc'
```
#### Dynamic variables
If you prefix a variable with `@`, then the variable is considered a dynamic variable. The value after the @-synbol will be treated as a command and the output assigned.
### Go's template engine
Task parse commands as [Go's template engine][gotemplate] before executing