Skip to main content

gomplate

brew install gomplate

echo 'Hello, {{ .Env.USER }}' | gomplate

gomplate -d .Env=.env -i 'Hello, {{ .Env.USER }}'
  • schema://userinfo@example.com:8042/over/there?name=ferret#nose
    • schema
      • env, file, merge, stdin
      • git, git+file, git+http, git+https, git+ssh
  • 支持格式 csv, json, yaml, toml, env