envsubst icon indicating copy to clipboard operation
envsubst copied to clipboard

add an -inplace option?

Open Mistobaan opened this issue 8 years ago • 3 comments

I think it would be useful to add an --inplace option where the target destination file is the source file :)

Mistobaan avatar May 29 '17 20:05 Mistobaan

sounds like a good idea. but imo, -w is a better name for the flag. (similar to gofmt).

a8m avatar Jul 06 '17 12:07 a8m

I think it would be useful to add an --inplace option where the target destination file is the source file :)

I think you can just use https://linux.die.net/man/1/sponge ?

icy avatar May 20 '20 19:05 icy

For reference a similar CLI tool (written in Rust) also uses -w: https://github.com/igtm/envbed

polarathene avatar Aug 29 '23 21:08 polarathene