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 details)
Built Distribution
File details
Details for the file yashiro-0.9.0.tar.gz
.
File metadata
- Download URL: yashiro-0.9.0.tar.gz
- Upload date:
- Size: 6.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.10.2 Linux/5.16.13-arch1-1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 986a8173be42b34bcff29b929457a934db380bf8dc6ec6abb6e7937eadb17676 |
|
MD5 | 8689dd8e152ab012b2086e632d0d8db1 |
|
BLAKE2b-256 | ce0a558c775e9073547ed805ca8b18ffdea52b1085894a4077d24791ddf31a1a |
File details
Details for the file yashiro-0.9.0-py3-none-any.whl
.
File metadata
- Download URL: yashiro-0.9.0-py3-none-any.whl
- Upload date:
- Size: 6.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.10.2 Linux/5.16.13-arch1-1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c5fc4afe29a035703a4a8693c568839d0d7e47de568ad3b1e15c857252fa40b1 |
|
MD5 | 7e3742041aea03cc9d0d786b8ea77045 |
|
BLAKE2b-256 | 29a300169a7f123947533099a9b9e17ffd03455cfb9fcfc41ed7e8bbd4f0b898 |