crudtoml 0.1.1

Creator: bradpython12

Last updated:

Add to Cart

Description:

crudtoml 0.1.1

crudtoml



Perform CRUD operations on TOML files.
Features

Style-preserving edits
Supports indexing into arrays
Write back to input file with -i
"Shell-compatible" output à la jq with -r

Examples
$ echo -e '[project]\nname = "crudtoml"' | tee test.toml
[project]
name = "crudtoml"

Create!
$ crudtoml test.toml create project dob 2023-05-23
[project]
name = "crudtoml"
dob = 2023-06-23

Read!
$ crudtoml test.toml read project name
"crudtoml"

Update!
$ crudtoml test.toml update project name '"crudini"'
[project]
name = "crudini"

Delete!
$ crudtoml test.toml delete project name
[project]

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.