#toml #command-line #command-line-tool #information #obtaining #255

app tomlq

A tool for obtaining information from a TOML file on the command line

1 unstable release

Uses old Rust 2015

0.1.0 Aug 26, 2017

#6 in #obtaining

Download history 172/week @ 2024-01-04 159/week @ 2024-01-11 111/week @ 2024-01-18 136/week @ 2024-01-25 355/week @ 2024-02-01 252/week @ 2024-02-08 199/week @ 2024-02-15 239/week @ 2024-02-22 265/week @ 2024-02-29 390/week @ 2024-03-07 202/week @ 2024-03-14 112/week @ 2024-03-21 136/week @ 2024-03-28 164/week @ 2024-04-04 206/week @ 2024-04-11 130/week @ 2024-04-18

682 downloads per month

MIT license

5KB
74 lines

tomlq

I wanted a command line tool like jq for TOML. Couldn't find one, so I'm making one.

Right now you can only do one thing: Get a value from a toml file.

Given the Cargo.toml in this repo:

  tomlq git:(master)  tomlq dependencies.toml -f Cargo.toml
0.4
  tomlq git:(master)  echo $?
0

  tomlq git:(master)  tomlq dependencies.toml.foo -f Cargo.toml
dependencies.toml.foo not found!
  tomlq git:(master)  echo $?
255
  tomlq git:(master) 

License

Licensed under the MIT License

Dependencies

~3–4.5MB
~90K SLoC