Mako Template Command-Line Tool
Project description
mako2clix
This project aims to port Mako Template to a simple usage on command line
Installation
To install the mako2clix Python project, run this command in your terminal:
$ pip install mako2clix
Example
Create a file template.mako
containing:
hello ${name}!
And a data file data.yaml
:
name: world
Now you can render the file with:
$ m2cli -t template.mako -d data.yaml -o rendered
The output is saved to rendered
:
hello world!
That's all!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
mako2clix-0.1.2.tar.gz
(4.6 kB
view hashes)