Skip to content
Inject the output of shell commands into arbitrary text templates
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
driver
src
test
.ghci
.gitignore
.travis.yml
LICENSE
README.md
Setup.lhs
inject.cabal

README.md

Inject: A minimalistic template engine

Inject expands shell commands in arbitrary text templates.

Example

Given a file input.txt with

My {{echo -n fancy}} template!

When I run inject < input.txt I get

My fancy template!
You can’t perform that action at this time.