coppercli is a small command line tool that uses the Copper template engine for Go to render text using a template.
Usage: coppercli <template.txt >output.txt -data KEY=VALUE -data KEY_2=VALUE_2 ...
template.html
<html>
<head>
<title><% html(title) %></title>
</head>
<body>
<p>
Hello, <% html(who) %>!
</p>
</body>
</html>
Command line: coppercli <template.html >output.html -data title=Example -data who=world
output.html
<html>
<head>
<title>Example</title>
</head>
<body>
<p>
Hello, world!
</p>
</body>
</html>