tmplr

tmplr (pronounced "templar") is a small and simple utility to kickstart any file from .tmplr format:

tmplr

https://github.com/exlee/tmplr
A simple template instantiation utility.

Usage:

make   <TEMPLATE_FILE/TEMPLATE_NAME> <NAME> VAR=VAL...
create <TEMPLATE_FILE> <NAME>
list   List available templates

Installation

git clone git@github.com:exlee/tmplr.git
cargo install --path .

Or download binary built by CI

Usage

.tmplr files

In order to start, you need to have a .tmplr file. It’s syntax is simple and is similar to format of txtar . For example example0.tmplr could look like this:

{### DIR empty_dir ###}
{### FILE some_f...

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help