Command line TOML processor
$ brew tap 4rbor/tq
$ brew install tq
Eventually, after several of the currently missing features are implemented we may try to get this library into the homebrew-core formula, but for now you can use our custom tap.
# With standard input / bash piping
$ cat Cargo.toml | tq '.'
# With file argument
$ tq -f Cargo.toml '.'
$ tq --file Cargo.toml '.'
Today only the basics of tq
exist, but contributions are welcome! What's next?
- Basic filters
- Today, only the identity filter and object identifier index filter exist, the others still need to be implemented.
- Built in Operators and Functions
- Conditionals and Comparisons
- Regular Expressions
- Math