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 --instance OR -I <name> Wrap in an instance of the given name
10 --json OR -J Generate JSON output
11 --leading-xpath <path> OR -l <path> Add a prefix to generated XPaths (HTML)
12 --not-first Indicate this object is not the first (JSON)
13 --open <path> Open tags for the given path
14 --open-instance <name> Open an instance given by name
15 --open-list <name> Open a list given by name
16 --option <opts> -or -O <opts> Give formatting options
17 --pretty OR -p Make 'pretty' output (add indent, newlines)
18 --style <style> OR -s <style> Generate given style (xml, json, text, html)
19 --text OR -T Generate text output (the default style)
20 --top-wrap Generate a top-level object wrapper (JSON)
21 --version Display version information
22 --warn OR -W Display warnings in text on stderr
23 --warn-xml Display warnings in xml on stdout
24 --wrap <path> Wrap output in a set of containers
25 --xml OR -X Generate XML output
26 --xpath Add XPath data to HTML output