awm / atp

An extensible pipelined template processor

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ATP

License

Licensed under the terms of the Modified BSD License. See LICENSE.txt for details.

Usage

atp @<processor> [processor args] [@<processor> [processor args] ...]

The ATP_PROCESSOR_PATH environment variable may be used to specify multiple alternative directories to search for processors in, overriding the built-in default. The paths are separated by colons. Empty paths are ignored.

Examples

Display ATP help:

atp @help

Display help for the random and json processors:

atp @help @random @json

Generate a random dictionary and print as JSON to stdout:

atp @random 5 10 2 @json write stdout

Load JSON file basic.json and use its data together with the ctemplate template basic.tpl to produce basic.txt:

atp @json read basic.json @ctemplate basic.tpl basic.txt

About

An extensible pipelined template processor

License:Other


Languages

Language:C 58.4%Language:C++ 38.6%Language:Objective-C 3.0%Language:Shell 0.1%