XQ(1) | xq man page | XQ(1) |
xq - command-line XML and HTML beautifier and content extractor
xq [options...] [file]
Formats the provided file and outputs it in the colorful mode. The file can be provided as an argument or via stdin.
--version | -v
--help | -h
--indent int
--no-color
--tab
--xpath | -x string
--extract | -e string
--html | -m
Format an XML file and highlight the syntax:
Utility also accepts input through stdin:
HTML content can be formatted and highlighted using -m flag:
Extract the text content of all nodes with city name:
https://github.com/sibprogrammer/xq - official website
06 Nov 2022 | 0.0.8 |