#toml #command-line #toml-file #command #line #file #cargo-toml #tomlq

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

#29 in #obtaining

Download history 169/week @ 2023-11-16 126/week @ 2023-11-23 170/week @ 2023-11-30 202/week @ 2023-12-07 190/week @ 2023-12-14 93/week @ 2023-12-21 114/week @ 2023-12-28 186/week @ 2024-01-04 171/week @ 2024-01-11 122/week @ 2024-01-18 152/week @ 2024-01-25 374/week @ 2024-02-01 263/week @ 2024-02-08 209/week @ 2024-02-15 248/week @ 2024-02-22 279/week @ 2024-02-29

1,024 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
~89K SLoC