Sed for TOML: subtitute parts of a TOML file
Project description
subtoml is a small CLI utility that substitute 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.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
subtoml-0.1.0.tar.gz
(2.2 kB
view hashes)
Built Distribution
Close
Hashes for subtoml-0.1.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b87ff8695b178aab3baaea5f47578d0a49afd2a9b3a552f0e260ca054d73de9b |
|
MD5 | 1187dbf99cdf31db06f390fe7c48693b |
|
BLAKE2b-256 | c5f6edf4f1d65ea114450cc2a1910268d009148c38ca30500c8ce69c431e1065 |