An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          

## Stache [![Build Status](https://travis-ci.org/roverdotcom/stache.svg?branch=master)](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
```