Commit graph

4 commits

Author SHA1 Message Date
dana 33e945b4bc Update README 2018-06-02 01:58:59 -05:00
peets dfcf0349ca Support using environment variables as input data
This uses the $_ENV superglobal, which is an empty array unless the
variables_order ini directive contains "E"; see
http://php.net/manual/en/ini.core.php#ini.variables-order.

Environment variables have lower precedence than input data passed via
other means, e.g.

    $ echo '{{USER}}' | twigc --env
    peets
    $ echo '{{USER}}' | twigc --env -p USER=foo
    foo
2018-02-18 17:13:54 -05:00
dana 0403b21af7 Auto-detect escaping method (default to no escaping), learn some new boolean values 2016-07-29 23:08:56 -05:00
dana c8deccc83d Add README 2016-07-24 16:03:26 -05:00