Lines Matching full:xo
1 .. index:: --libxo, xo
4 The "xo" Utility
7 The `xo` utility allows command line access to the functionality of
8 the libxo library. Using `xo`, shell scripts can emit XML, JSON, and
17 The `xo` utility accepts a format string suitable for `xo_emit` and
20 xo "The {k:name} weighs {:weight/%d} pounds.\n" fish 6
46 xo --wrap top/a/b/c '{:tag}' value
79 xo --open top/data
80 xo --depth 2 '{:tag}' value
81 xo --close top/data
113 xo --top-wrap --open top/data
114 xo --depth 2 'First {:tag} ' value1
115 xo --depth 2 --continuation 'and then {:tag}\n' value2
116 xo --top-wrap --close top/data
166 xo $opts --open-list machine
169 xo $opts --depth 1 $NF --open-instance machine
170 xo $opts --depth 2 "Machine {k:name} has {:memory}\n" $name 55
171 xo $opts --depth 1 --close-instance machine
174 xo $opts $NF --close-list machine
177 transitions, but since each `xo` command is invoked independent of the
181 The `--instance` option can be used to treat a single `xo` invocation
184 % xo --libxo:XP --instance foo 'The {:product} is {:status}\n' stereo "in route"
195 Usage: xo [options] format [fields]
227 % xo 'The {:product} is {:status}\n' stereo "in route"
229 % xo -p -X 'The {:product} is {:status}\n' stereo "in route"
232 % xo --libxo xml,pretty 'The {:product} is {:status}\n' stereo "in route"