Skip to content
/ inject Public

Inject the output of shell commands into arbitrary text templates

License

Notifications You must be signed in to change notification settings

sol/inject

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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!

About

Inject the output of shell commands into arbitrary text templates

Resources

License

Stars

Watchers

Forks

Packages

No packages published