Skip to content

Commit

Permalink
Merge branch 'master' into feature/pipe-syntax-and-shell
Browse files Browse the repository at this point in the history
# Conflicts:
#	README.md
  • Loading branch information
navrocky committed Feb 10, 2025
2 parents da813ef + 9f2482d commit a6c13da
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# MuEnvSubst

Substitutes environment variables using one of the templating engines, as
[envsubst](https://www.gnu.org/software/gettext/manual/html_node/envsubst-Invocation.html) does.
[envsubst](https://www.gnu.org/software/gettext/manual/html_node/envsubst-Invocation.html) does, but using a powerfull templating engine.

This is a list of supported template engines:

- `inja` - [Inja templates](https://pantor.github.io/inja/)

One of the advantages of this utility is that it is built in a small static binary without any dependencies.
Architecture of binary is Linux x86 (32 bit). It can be run in docker from scratch.
One of the advantages of this utility is that it is built very small static binary without any dependencies.
Architecture of binary is Linux x86 (32 bit). It can be run in any Linux x86 and x86_64, both new and very old versions.

## Installation

Expand Down Expand Up @@ -162,12 +162,12 @@ Hello, JOHN!

```sh
USE_GREETER=no USE_GOODBYER=yes muenvsubst << EOF
{%- if USE_GREETER=="yes" -%}
## if USE_GREETER=="yes"
Hello, {{ USER }}!
{%- endif -%}
{%- if USE_GOODBYER=="yes" -%}
## endif
## if USE_GOODBYER=="yes"
Goodbye, {{ USER }}!
{%- endif -%}
## endif
EOF
```

Expand Down

0 comments on commit a6c13da

Please sign in to comment.