Skip to content

guumaster/env-replacer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

About

An envsubst replacement

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages