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:
yq w -i file.yaml key value
yq also supports b.c.d.e key names to edit deeper values.
dasel put string -f file.yaml -p yaml "key" value
dasel also supports b.c.d.e key names to edit deeper values.
yaml-cli update:value file.yml key value
If you intend to keep developing
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.