A cli template tool based on jinja
Project description
yashiro is just a thin wrapper around jinja.
In a nutshell
Installation
The easiest way is to use poetry to manage your dependencies and add yashiro to them.
[tool.poetry.dependencies]
yashiro = "*"
Usage
yashiro, once installed offers a single command, yashiro, that parses the templated based on a JSON file. yashiro follows the GNU recommendations for command line interfaces, and offers:
-h or --help to print help, and
-V or --version to print the version
You can use yashiro to parse a template.
usage: yashiro [-h] [-V] [-m MAPPING] [-s] -t TEMPLATE
optional arguments:
-h, --help Show this help message and exit
-m/--mappings MAPPINGS The path to the file that contains the mappings
-t/--template TEMPLATE The path to the template
-V/--version Print the version and exit
Links
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
yashiro-0.9.0.tar.gz
(6.1 kB
view hashes)