[mod] readme
This commit is contained in:
parent
25735bbdc7
commit
b422935175
|
|
@ -1,5 +1,6 @@
|
|||
# coin
|
||||
|
||||
|
||||
## Description
|
||||
|
||||
`coin` transforms a template string to its refined version by substituting its placeholders with concrete values; hence it can be used as a very basic template engine.
|
||||
|
|
@ -59,7 +60,7 @@ echo '{{flowers}} are {{color}}' | coin -a 'flowers:roses' | coin -a 'color:red'
|
|||
# roses are red
|
||||
```
|
||||
|
||||
In some contextes curly brackets might might be reserved or not available for other reasons. This can be mitigated by using different placeholder indicators:
|
||||
In some contextes curly brackets might be reserved or not available for other reasons. This can be mitigated by using different placeholder indicators:
|
||||
|
||||
```sh
|
||||
echo '<<flowers>> are <<color>>' | coin -o '<<' -c '>>' -a 'flowers:roses' -a 'color:red'
|
||||
|
|
|
|||
Loading…
Reference in a new issue