Lines Matching +full:set +full:- +full:top
36 .Bl -tag -width indent
37 .It Ic --close Ar path
39 .It Ic -C | Ic --continuation
43 .It Ic --depth Ar num
45 .It Ic --help
47 .It Ic -H | Ic --html
49 .It Ic -J | Ic --json
51 .It Ic --leading-xpath Ar path
53 .It Ic --not-first
57 .It Ic --open Ar path
59 .It Ic -p | Ic --pretty
61 .It Ic --style Ar style
63 .It Ic -T | Ic --text
65 .It Ic --top-warp
66 Indicates the entire object should be placed inside a top-level
68 .It Ic --version
70 .It Ic -W | Ic --warn
72 .It Ic --warn-xml
74 .It Ic --wrap Ar path
75 Wrap output in a set of containers
76 .It Ic -X | Ic --xml
78 .It Ic --xpath
86 and a set of zero or more arguments used to supply data for that string.
98 adding the "-p" (pretty) and "-X" (XML output) flags:
99 .Bd -literal -offset indent
102 % xo -p -X 'The {:product} is {:status}\\n' stereo "in route"
110 .Bd -literal -offset indent
124 <div class="data" data-tag="name">fish</div>
126 <div class="data" data-tag="weight">6</div>
132 .Fl "-wrap <path>"
135 The path is a set of hierarchical names separated
137 .Bd -literal -offset indent
138 xo --wrap top/a/b/c '{:tag}' value
141 <top>
149 </top>
151 "top": {
163 .Fl "\-open <path>"
165 .Fl "\-close <path>"
172 .Fl \-depth
173 option may be used to set the
176 .Fl "\-leading-xpath"
179 .Bd -literal -offset indent
181 xo --open top/data
182 xo --depth 2 '{:tag}' value
183 xo --close top/data
186 <top>
190 </top>
192 "top": {