This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description
CLI templater (CLT)
===================

A simple command-line tool for convenient templates processing. For example, you have a config file for some web service and just want to put there a different host:port binding
depending on the target server role. Using the tool, you can simply pass the missing variables using syntax like:
```bash
clt --tpl your_file.conf --out test.out --binding 127.0.0.1:9999
```

Examples
--------

Reads infile.tpl template and rewrites its contents to infile.out,
substituting "$$$test":

```bash
clt --tpl infile.tpl --out file.out --delim '$$$' --test 30
```


Reads infile.tpl template and rewrites its contents to outdir/infile.tpl,
substituting "%var1" and "%var2":

```bash
clt --tpl infile.tpl --out outdir --delim '%' --var1 20 --var2 hello
```


Reads all files from indir and rewrites them to outdir,
substituting "$$$var1" and "$$$var2" ("$$$" is the default delimiter):

```bash
clt --tpl indir --out outdir --var1 10 --var2 50
```


Reads all files matching "*.tpl" and rewrites them to
outdir, substituting "$$$var1" and "$$$var2":

```bash
clt --tpl indir/\*.tpl --out outdir --var1 10 --var 20
```

Installation
------------
```bash
pip install clt
```

Python versions supported
------------
Tested with 2.6.x and 2.7.x
Release History

Release History

1.1

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
clt-1.1.tar.gz (3.0 kB) Copy SHA256 Checksum SHA256 Source Jan 12, 2014

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting