envsubst
envsubst copied to clipboard
add an -inplace option?
I think it would be useful to add an --inplace option where the target destination file is the source file :)
sounds like a good idea.
but imo, -w is a better name for the flag. (similar to gofmt).
I think it would be useful to add an
--inplaceoption where the target destination file is the source file :)
I think you can just use https://linux.die.net/man/1/sponge ?
For reference a similar CLI tool (written in Rust) also uses -w: https://github.com/igtm/envbed