#template #environment #render #env #variables #env-var #env-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

#580 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

~5.5MB
~100K SLoC