~elchenberg/not-envsubst

Substitutes the values of environment variables.

refs

main
browse  log 

clone

read-only
https://git.sr.ht/~elchenberg/not-envsubst
read/write
git@git.sr.ht:~elchenberg/not-envsubst

You can also use your local clone with git send-email.

#not-envsubst (working title)

#Goal

  1. Learn Rust
  2. Create a replacement for envsubst that supports:
    • $VAR
    • ${VAR}
    • ${VAR-default}
    • ${VAR:-default}
    • ${VAR?message}
    • and ${VAR:?message}

#Usage

not-envsubst v0.1.0

Substitutes the values of environment variables.

Usage:
  not-envsubst [OPTIONS]

Optional arguments:
  -h, --help     print this help message
  -V, --version  print the version number