xq
Command line XML beautifier and content extractor. Similar to jq.
Features
- Syntax highlighting
- Automatic indentation
- Node content extraction
Installation
A simple way to install the utility is to use the curl and bash installer.
For macOS:
curl -sSL https://git.io/JXZHK | bash
For Linux:
curl -sSL https://git.io/JXZHK | sudo bash
If you have Go toolchain installed, you can use the following command to install xq
:
go install github.com/sibprogrammer/[email protected]