Skip to content

MulleFoundation/mulle-pq

Repository files navigation

mulle-pq

⛪️ mulle-pq a 'jq' for property lists

If jq is installed, you can run an arbitrary jq filter over your property list and get the result back in either JSON or Plist or XML.

Usage

Usage: mulle-pq [options] ...

   Convert between JSON, Plist, XML format.
   Any arguments after the known options are interpreted to be jq arguments.
   jq will be invoked and given the parsed input. The result of the jq
   command then will undergo output conversion.

Options:
   --in <value>         : input file (stdin)
   --in-format <value>  : input format one of json,xml,plist (auto)
   --no-jq              : don't run input plist through jq
   --no-lf              : don't append a linefeed to the output
   --out <value>        : output file (stdout)
   --out-format <value> : output format one of json,xml,(plist)


Requirements

Requirement Release Version Description
MulleFoundation Mulle kybernetiK tag Build Status 💍 Umbrella library for the MulleFoundation
MulleObjCExpatFoundation Mulle kybernetiK tag Build Status 👴🏼 XML parser based on MulleObjCStandardFoundation and libexpat
MulleObjCJSMNFoundation Mulle kybernetiK tag Build Status 🌼 JSON support for mulle-objc
MulleFoundation-startup Mulle kybernetiK tag Build Status ▶️ Startup code for the MulleFoundation

You are here

Overview

Add

Use mulle-sde to add mulle-pq to your project:

mulle-sde add github:MulleFoundation/mulle-pq

Install

Install with mulle-sde

Use mulle-sde to build and install mulle-pq and all dependencies:

mulle-sde install --prefix /usr/local \
   https://github.com/MulleFoundation/mulle-pq/archive/latest.tar.gz

Manual Installation

Install the requirements:

Requirements Description
MulleFoundation 💍 Umbrella library for the MulleFoundation
MulleFoundation-startup ▶️ Startup library for MulleFoundation
MulleObjCExpatFoundation 👴🏼 XML parser based on MulleObjCStandardFoundation and libexpat
MulleObjCJSMNFoundation 🌼 JSON support for mulle-objc

Install mulle-pq into /usr/local with cmake:

cmake -B build \
      -DCMAKE_INSTALL_PREFIX=/usr/local \
      -DCMAKE_PREFIX_PATH=/usr/local \
      -DCMAKE_BUILD_TYPE=Release &&
cmake --build build --config Release &&
cmake --install build --config Release

Author

Nat! for Mulle kybernetiK