{"repo":"hiddewie/template","free":true,"listed":false,"github":"https://github.com/hiddewie/template","clone":"git clone https://github.com/hiddewie/template.git","description":"CLI for templating based on JSON, YAML or HCL configuration","language":"Rust","stars":12,"topics":["cli","hcl","json","rust","template","yaml"],"license":"MIT","category":"cli-tools","readme_excerpt":"Template CLI for templating based on JSON, YAML or HCL configuration. Inspired by Consul Template, Sprig, Handlebars, Mustache, Jinja, and the Kotlin, Rust Go and Python standard libraries. Installation Cargo Install with Precompiled binaries You can download a pre-compiled binaries for multiple architectures and operating systems from the Latest Release page. Docker The binaries are shipped as Docker images. In the usage instructions below, replace all usages of template with docker run --rm ghcr.io/hiddewie/template . Usage Show the usage information with the --help option: which outputs: The output is rendered to the standard output stream. Log messages are output to the standard error stream. The log level can be controlled using the RUST LOG environment variable. This tool combines well with other command-line utilities, following the UNIX philosophy, for example: Exit codes - 0 : Success. The standard output contains the rendered template. - 1 : Template file cannot be read. - 2 : One of the required CLI options is not given. - 3 : Configuration file cannot be read. - 4 : Configuration file cannot be parsed. - 5 : Template file cannot be parsed. - 6 : Template cannot be rendered. - 101 : Panic. An unexpected error has occurred, and was not handled correctly. Please create an issue to report the configuration, the template and the error output. Security This software: - reads the configuration file or standard input - reads the template file - reads the environment to se","default_branch":null,"files":null,"tree":[],"storefront":"/r/hiddewie","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/hiddewie/template/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}