#template #environment #render #env #variables #env-var #file

app env-template

Render Handlebars template files using environment variables

2 releases

0.1.1 May 1, 2021
0.1.0 May 1, 2021

#538 in Template engine

MIT/Apache

10KB
115 lines

This utility renders a Handlebars-style template file from values in a .env file, optionally including values from the environment.

USAGE:
    env-template [FLAGS] [OPTIONS] <file>

FLAGS:
    -a, --all        Expose the entire environment to the template, not just the .env contents
    -h, --help       Prints help information
    -V, --version    Prints version information

OPTIONS:
    -v, --vars <vars>    Load the variables from this file instead of .env

ARGS:
    <file>    The template to render

Dependencies

~6.5MB
~115K SLoC