A simple CLI for editing and querying TOML files.
MIT License
Bot releases are hidden (Show)
Initial release.
toml get
.toml set
, just printing the modified version.Published by gnprice almost 2 years ago
.foo.bar
to foo.bar
, like TOML itself.Published by gnprice almost 2 years ago
Breaking: Previously toml get
on a missing key would print "null" and exit with success. Now it panics. (The panic was filed as #14 and fixed in v0.2.3. Since v0.2.3 there are also tests that would catch this sort of unplanned behavior change.)
Update lexical-core
dependency, fixing build on recent Rust toolchains. (#12)
Update toml_edit
dependency, fixing parse error on dotted keys. (#2)
Update dependencies generally.
Adjust so cargo fmt
and cargo clippy
are clean.
Published by gnprice almost 2 years ago
toml get -r
/ --raw
. (#19)Published by gnprice almost 2 years ago
toml get
on a missing key no longer panics. This gives it the same behavior as git config
: print nothing, and exit with failure. (#14)""
, as in toml get data.toml 'foo."".bar'
. (#20)