If written because you needed experience and writing a program to perform a 
task you need done is better for learning, then go you! But if you are 
legitimately looking to solve a problem, you might want to throw a quick 
search out first before implementing Yet Another X.

For yamlfukr update file.yaml key value:
https://github.com/mikefarah/yq
yq w -i file.yaml key value

yq also supports b.c.d.e key names to edit deeper values.

https://github.com/TomWright/dasel

dasel put string -f file.yaml -p yaml "key" value

dasel also supports b.c.d.e key names to edit deeper values.

https://github.com/grasmash/yaml-cli
yaml-cli update:value file.yml key value  

If you intend to keep developing yamlfukr 
<https://github.com/golangdaddy/yamlfukr>, you might want to examine some 
of the alternatives, and if you find them unsuitable, add to your 
documentation why you find them so, so that someone coming on your project 
can see why they should consider going with your tool instead of one of the 
alternatives.

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/b1fb908a-94f7-4487-b76a-50153d87c868n%40googlegroups.com.

Reply via email to