It's used to set a pair of <key,value>
across all your configuration files declared under files
path of .bumpedrc
.
Sometimes you need to update a determinate property in the configuration files. No more edit files manually!
$ bumped set name simple-average
success : Property 'name' set.
In this case, name
is a plain property in the JSON, but you can update nested object properties as well providing the object path:
$ bumped set author.name Kiko Beats
success : Property 'author.name' set.
or Arrays values:
$ bumped set keywords "[average, avg]"
success : Property 'keywords' set.