Open pkit opened 6 months ago
It is fine: just don't run it without any arguments (-i
and -o
) or without redirection of stdin/stderr (envsubst < in > out
)
It produces these errors while running other commands, not related to envsubst. Probably because envsubst is called somwhere else? I get it even in python sometimes. And a lot - for golang.
Ah so it might be the reason that other tools expect 1:1 compatibility with original envsubst. I can suggest to use asdf plugin only when you call envsubst directly. Actually it is useful when you don't have gettext package installed: ie. you have minimal debian/ubuntu/alpine and you use asdf or mise to install all other dependencies for your app.
I don't think that https://github.com/a8m/envsubst is just generic substitution for gettext's envsubst.
Maybe you would like to fill the bug to the https://github.com/a8m/envsubst repo instead?
Hmm, I suppose they don't want to fix it, lol https://github.com/a8m/envsubst/issues/10