Lines Matching +full:product +full:- +full:name
13 .Sh NAME
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
76 .It Ic -X | Ic --xml
78 .It Ic --xpath
98 adding the "-p" (pretty) and "-X" (XML output) flags:
99 .Bd -literal -offset indent
100 % xo 'The {:product} is {:status}\\n' stereo "in route"
102 % xo -p -X 'The {:product} is {:status}\\n' stereo "in route"
103 <product>stereo</product>
110 .Bd -literal -offset indent
111 xo "The {k:name} weighs {:weight/%d} pounds.\\n" fish 6
116 <name>fish</name>
119 "name": "fish",
124 <div class="data" data-tag="name">fish</div>
126 <div class="data" data-tag="weight">6</div>
132 .Fl "-wrap <path>"
137 .Bd -literal -offset indent
138 xo --wrap top/a/b/c '{:tag}' value
163 .Fl "\-open <path>"
165 .Fl "\-close <path>"
172 .Fl \-depth
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