| /f-stack/tools/libxo/ |
| H A D | README.md | 1 libxo chapter 4 libxo - A Library for Generating Text, XML, JSON, and HTML Output 6 The libxo library allows an application to generate text, XML, JSON, 10 described in a format string. A "field descriptor" tells libxo what 22 Output can then be generated in various style, using the "--libxo" 28 % wc --libxo xml,pretty,warn /etc/motd 37 % wc --libxo json,pretty,warn /etc/motd 50 % wc --libxo html,pretty,warn /etc/motd 65 http://juniper.github.io/libxo/libxo-manual.html 67 …(https://ga-beacon.appspot.com/UA-56056421-1/Juniper/libxo/Readme)](https://github.com/Juniper/lib…
|
| H A D | Makefile.am | 13 SUBDIRS = libxo xo xopo xolint xohtml tests doc encoder subdir 14 bin_SCRIPTS=libxo-config 18 libxo-config.in \ 22 packaging/libxo.spec 58 && cp doc/top-link.html ${GH_PAGES_DIR}/libxo.html \ 61 && git add libxo.html \ 64 libxo.html ${PACKAGE_VERSION}/html \ 113 && git add ${GH_PACKAGING_DIR}/libxo.rb \ 114 ${GH_PACKAGING_DIR}/libxo.spec \ 119 ANALYZE_DIR = ~/trash/libxo
|
| H A D | libxo-config.in | 20 Usage: libxo-config [OPTION] 24 --prefix=DIR change libxo prefix [default $prefix] 25 --exec-prefix=DIR change libxo exec prefix [default $exec_prefix]
|
| H A D | Makefile | 9 LIBXOSRC= ./libxo 16 SRCS= libxo.c xo_encoder.c xo_syslog.c
|
| H A D | configure.ac | 15 AC_INIT([libxo], [1.4.0], [[email protected]]) package 358 AC_ARG_ENABLE([libxo-options], 412 [XO_SHAREDIR=$datarootdir/libxo] 446 AC_CONFIG_HEADERS([libxo/xo_config.h]) 449 libxo-config 451 libxo/Makefile 452 libxo/add.man 461 packaging/libxo.pc 468 packaging/libxo.spec 469 packaging/libxo.rb.base [all …]
|
| /f-stack/tools/libxo/libxo/ |
| H A D | add.man.in | 4 .Nm libxo 8 https://juniper.github.io/libxo/@LIBXO_VERSION@/html/index.html 11 .Nm libxo 14 https://github.com/Juniper/libxo 18 .Nm libxo 21 https://github.com/Juniper/libxo/releases 25 .Nm libxo
|
| /f-stack/tools/libxo/doc/ |
| H A D | getting.rst | 2 .. index:: Getting libxo 4 Getting libxo 10 libxo source code lives on github: 12 https://github.com/Juniper/libxo 34 Downloading libxo Source Code 49 tar -zxf libxo-RELEASE.tar.gz 50 cd libxo-RELEASE 60 build libxo from the git repo:: 63 cd libxo 80 Building libxo [all …]
|
| H A D | options.rst | 2 .. index:: --libxo 12 "`--libxo`" option:: 14 --libxo <options> 15 --libxo=<options> 16 --libxo:<brief-options> 23 my-app --libxo warn,pretty arg1 24 my-app --libxo=warn,pretty arg1 25 my-app --libxo:WP arg1 157 --libxo colors=+magenta+/cyan 173 --libxo encoder=cbor [all …]
|
| H A D | encoders.rst | 7 that ship with libxo, and documentation for developers of future 19 To allow support for additional encodings, libxo includes a 26 df --libxo encoder=cbor > df-output.cbor 48 df --libxo @csv:no-header 67 % list-items --libxo xml,pretty 101 % list-items --libxo encoder=csv 130 % list-items --libxo encoder=csv:path=top/data/item 171 % list-items --libxo encoder=csv:leafs=sku.on-order 176 % list-items -libxo encoder=csv:leafs=on-order.sku 239 ${prefix}/lib/libxo/encoder/${name}.enc [all …]
|
| H A D | index.rst | 13 libxo - A Library for Generating Text, XML, JSON, and HTML Output 16 The libxo library allows an application to generate text, XML, JSON, 19 should be produced. By using libxo, a single source code path can 21 the style, along with optional behaviors. libxo includes support for 24 library aims to minimize the cost of migrating code to libxo. 26 libxo ships as part of FreeBSD.
|
| H A D | intro.rst | 2 Introducing libxo 5 The libxo library allows an application to generate text, XML, JSON, 9 described in a format string. A "field descriptor" tells libxo what 18 and the role tells libxo how and when to render that field (see 22 "--libxo" option:: 26 % wc --libxo xml,pretty,warn /etc/motd 35 % wc --libxo json,pretty,warn /etc/motd 48 % wc --libxo html,pretty,warn /etc/motd 90 encoding formats can provide. libxo can help.
|
| H A D | howto.rst | 15 https://github.com/Juniper/libxo/issues 17 Howto: Install libxo 20 libxo is open source, under a new BSD license. Source code is 24 https://github.com/Juniper/libxo/releases 48 --disable-libxo-options Turn off support for LIBXO_OPTIONS 55 doing development work on libxo, it is required that you 61 libxo provides the `--enable-text-only` option to reduce the 85 use libxo:: 98 #include <libxo/xo.h> 275 How do I use libxo to support internationalization? [all …]
|
| H A D | api.rst | 3 The libxo API 60 :return: New libxo handle 93 :return: New libxo handle 534 adds an explicit libxo handle. 1047 .. index:: --libxo 1075 Like other libxo calls, passing `NULL` for the handle tells libxo to 1136 .. index:: --libxo 1144 libxo options, including: 1597 lib/libxo/extensions/cbor.enc 1598 lib/libxo/extensions/test.enc [all …]
|
| H A D | xohtml.rst | 8 `xohtml` is a tool for turning the output of libxo-enabled commands into 29 any libxo options needed to generate html (`--libxo=html`). This
|
| H A D | format-strings.rst | 8 libxo uses format strings to control the rendering of data into the 12 zero, one, or two format descriptors. The modifiers tell libxo what 15 libxo how to format the field. The field description is placed inside
|
| H A D | xo.rst | 1 .. index:: --libxo, xo 8 the libxo library. Using `xo`, shell scripts can emit XML, JSON, and 14 set of "--libxo" options are available (see :ref:`options`), as well 15 as the :ref:`LIBXO_OPTIONS <libxo-options>` environment variable. 176 The normal `libxo` functions use a state machine to help these 184 % xo --libxo:XP --instance foo 'The {:product} is {:status}\n' stereo "in route" 232 % xo --libxo xml,pretty 'The {:product} is {:status}\n' stereo "in route"
|
| H A D | formatting.rst | 2 Formatting with libxo 24 libxo allows a single set of function calls in source code to generate 29 A single libxo function call in source code is all that's required:: 55 There are four encoding styles supported by libxo: 89 libxo expands on the idea of printf format strings to make a single
|
| /f-stack/tools/libxo/encoder/cbor/ |
| H A D | Makefile.am | 19 enc_cborincdir = ${includedir}/libxo 22 -I${top_srcdir}/libxo \ 23 -I${top_builddir}/libxo \ 29 -L${top_builddir}/libxo -lxo 31 LDADD = ${top_builddir}/libxo/libxo.la
|
| /f-stack/tools/libxo/encoder/csv/ |
| H A D | Makefile.am | 19 enc_csvincdir = ${includedir}/libxo 22 -I${top_srcdir}/libxo \ 23 -I${top_builddir}/libxo \ 29 -L${top_builddir}/libxo -lxo 31 LDADD = ${top_builddir}/libxo/libxo.la
|
| /f-stack/tools/libxo/encoder/test/ |
| H A D | Makefile.am | 19 enc_testincdir = ${includedir}/libxo 22 -I${top_srcdir}/libxo \ 23 -I${top_builddir}/libxo \ 29 -L${top_builddir}/libxo -lxo 31 LDADD = ${top_builddir}/libxo/libxo.la
|
| /f-stack/tools/libxo/packaging/ |
| H A D | libxo.spec.in | 4 Summary: The libxo library 13 URL: https://github.com/Juniper/libxo 18 Welcome to libxo, a library that generates text, XML, JSON, and HTML 39 %{_includedir}/libxo/* 41 %{_datadir}/doc/libxo/* 42 %docdir %{_datadir}/doc/libxo/*
|
| /f-stack/tools/libxo/xo/ |
| H A D | Makefile.am | 18 -I${top_srcdir}/libxo \ 31 ${top_builddir}/libxo/libxo.la 43 cat ../libxo/add.man >> ${DESTDIR}${man1dir}/$$file ; done
|
| /f-stack/tools/libxo/xopo/ |
| H A D | Makefile.am | 18 -I${top_srcdir}/libxo \ 31 ${top_builddir}/libxo/libxo.la 43 cat ../libxo/add.man >> ${DESTDIR}${man1dir}/$$file ; done
|
| /f-stack/tools/libxo/tests/core/ |
| H A D | Makefile.am | 11 AM_CFLAGS = -I${top_srcdir} -I${top_srcdir}/libxo 46 ${top_builddir}/libxo/libxo.la 84 ${CHECKER} ./$$base.test --libxo$$xoopts ${TEST_OPTS} \
|
| /f-stack/tools/libxo/tests/gettext/ |
| H A D | Makefile.am | 13 -I${top_srcdir}/libxo \ 27 ${top_builddir}/libxo/libxo.la 75 ${CHECKER} ./$$base.test --libxo:W$$fmt ${TEST_OPTS} \
|