sed for toml:toml文件的子组成部分
subtoml的Python项目详细描述
subtoml是一个小型的cli实用程序,用于替换toml文件的部分内容。
$ 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
有关详细信息,请阅读subtoml --help。
分布在GPLv3或更高版本下。
更改日志
版本0.3.0
2017年8月29日发布。
- 添加了-d/--delete/--delete-key选项。
- 添加了--version选项。
版本0.2.0
2017年7月7日发布。
- 添加了-i/--input-file选项。
- 添加了-o/--output-file选项。
版本0.1.0
2017年9月9日发布。初始释放。