toml-cli

A simple CLI for editing and querying TOML files.

MIT License

Downloads
110.6K
Stars
101
Committers
3

Bot releases are hidden (Show)

toml-cli - v0.1.0 Latest Release

Published by gnprice almost 2 years ago

Initial release.

  • toml get.
  • toml set, just printing the modified version.
toml-cli - v0.2.0

Published by gnprice almost 2 years ago

  • Breaking: Change query format from .foo.bar to foo.bar, like TOML itself.
toml-cli - v0.2.1

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.

toml-cli - v0.2.2

Published by gnprice almost 2 years ago

  • New option toml get -r / --raw. (#19)
toml-cli - v0.2.3

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)
  • Fix query parse error on empty quoted key "", as in toml get data.toml 'foo."".bar'. (#20)