Sed for TOML: subtitute parts of a TOML file
subtoml
: Sed for TOMLsubtoml
is a small CLI utility that substitutes parts of a TOML file.
$ cat sample.toml
[database]
url = "postgresql://localhost/sample"
[web]
debug = true
$ subtoml database.url 'postgresql://localhost/test' < sample.toml
[database]
url = "postgresql://localhost/test"
[web]
debug = true
Distributed under GPLv3 or later.
Released on July 7, 2017.
-i
/--input-file
option.-o
/--output-file
option.Released on April 17, 2017.
TypeError
with the recent versions of pytoml.Released on September 9, 2017. Initial release.