Skip to main content

A cli template tool based on jinja

Project description

Build Total alerts License PyPI Downloads Code style

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

Project details


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)

Uploaded source

Built Distribution

yashiro-0.9.0-py3-none-any.whl (6.1 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page