Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please support reading from stdin #47

Open
guettli opened this issue Mar 20, 2023 · 0 comments
Open

Please support reading from stdin #47

guettli opened this issue Mar 20, 2023 · 0 comments

Comments

@guettli
Copy link

guettli commented Mar 20, 2023

Expected Behavior

Expected: This should print the current value of $HOME on stdout:

echo "\${HOME}" |  go run github.com/kreuzwerker/envplate/bin@latest

Expected: This should fail:

echo "\${var-does-not-exist}" |  go run github.com/kreuzwerker/envplate/bin@latest -s

Actual Behavior

Up to not the code does not read from stdin

Your Environment

  • OS: Ubuntu 22.04
  • envplate version: latest

Related tools

This tool reads from stdin, but has no strict mode: https://github.com/drone/envsubst

This tools supports reading from stdin and has a strict-mode via -u: https://github.com/icy/genvsub

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant