1 Usage: xo [options] format [fields]
2 --close <path> Close tags for the given path
3 --close-instance <name> Close an open instance name
4 --close-list <name> Close an open list name
5 --continuation OR -C Output belongs on same line as previous output
6 --depth <num> Set the depth for pretty printing
7 --help Display this help text
8 --html OR -H Generate HTML output
9 --json OR -J Generate JSON output
10 --leading-xpath <path> OR -l <path> Add a prefix to generated XPaths (HTML)
11 --not-first Indicate this object is not the first (JSON)
12 --open <path> Open tags for the given path
13 --open-instance <name> Open an instance given by name
14 --open-list <name> Open a list given by name
15 --option <opts> -or -O <opts> Give formatting options
16 --pretty OR -p Make 'pretty' output (add indent, newlines)
17 --style <style> OR -s <style> Generate given style (xml, json, text, html)
18 --text OR -T Generate text output (the default style)
19 --top-wrap Generate a top-level object wrapper (JSON)
20 --version Display version information
21 --warn OR -W Display warnings in text on stderr
22 --warn-xml Display warnings in xml on stdout
23 --wrap <path> Wrap output in a set of containers
24 --xml OR -X Generate XML output
25 --xpath Add XPath data to HTML output