https://github.com/roverdotcom/stache
A CLI tool for rendering mustache templates using ENV as the context
https://github.com/roverdotcom/stache
Last synced: 6 months ago
JSON representation
A CLI tool for rendering mustache templates using ENV as the context
- Host: GitHub
- URL: https://github.com/roverdotcom/stache
- Owner: roverdotcom
- License: mit
- Created: 2016-08-09T02:47:22.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-08-09T03:59:14.000Z (almost 10 years ago)
- Last Synced: 2024-12-29T05:27:47.792Z (over 1 year ago)
- Language: Go
- Size: 1.03 MB
- Stars: 0
- Watchers: 11
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Stache [](https://travis-ci.org/roverdotcom/stache)
A CLI tool for rendering mustache templates using ENV as the context.
### Pipe input
```
$ echo "My home directory is: {{ HOME }}" | stache
```
### Read from a file
```
$ echo "My username is {{ USER }}" > test.mustache
$ stache -f test.mustache > test.txt
```
### Write to a file
```
$ stache -f test.mustace -o test.txt
```