Skip to content

Latest commit

 

History

History
75 lines (41 loc) · 2.14 KB

README.md

File metadata and controls

75 lines (41 loc) · 2.14 KB

Tests GitHub Release Go Report Card License

Env Replacer

A powerful tool to replace environment variables on template files.

Why?

I don't like to maintain bash scripts, I don't like gettext and envsubst, so this is a replacement.

Installation

Go to release page and download the binary you need.

Examples

$> env-replacer --path /some-path-to-tpl-files

Usage

NAME:
   env-replacer - replace env variables on files

USAGE:
   env-replacer [global options] [arguments...]

VERSION:
   dev

AUTHOR:
   guumaster <[email protected]>

GLOBAL OPTIONS:
   --path value    path to scan for templates

   --files value   file pattern to search (default: "*.tpl")

   --quiet, -q     hide report (default: false)

   --no-recursive  don't scan path recursively (default: false)

   --no-truncate   don't truncate dst files (default: false)

   --no-error      early quit on error (default: false)

   --no-missing    don't write files with missing variables (default: false)

   --no-empty      fail also with variables (default: false)

   --strict        same as --no-empty and --no-missing combined (default: false)

   --version       print the version (default: false)

Dependencies & Refs

LICENSE

MIT license

Author(s)