logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

tmpl - Command line interface to Go's text/template library

Author

       Alexandre Viau (aviau@debian.org)

1.0                                               21 April 2016                                           man(8)

Description

       This  program  is  a command line interface to Go's text/template library. It can be used by passing in a
       set of JSON-encoded data and a list of template paths ending in a  .tmpl  extension.  The  templates  are
       processed and their results are saved to the filename with the .tmpl extension removed.

       Once  your  data set gets larger, it may be useful to move it to its own file instead of specifying it on
       the command line. To use a data file instead of raw JSON on the command line, use the -data argument  but
       prefix your path with an @ symbol.

Name

       tmpl - Command line interface to Go's text/template library

Options

-data<string> JSON data.

       -help  Display usage information and exit.

Synopsis

       tmpl [options]

See Also