Giter Site home page Giter Site logo

faq's Introduction

faq

Go Report Card Build Status Travis Godoc Releases LICENSE

Note: The master branch may be in an unstable or even broken state during development. Please use releases instead of the master branch in order to get stable binaries.

faq is a tool intended to be a drop in replacement for "jq", but supports additional formats. The additional formats are converted into JSON and processed with libjq.

faq is pronounced "fah queue".

Supported formats:

  • BSON
  • Bencode
  • JSON
  • TOML
  • XML
  • YAML

For example usage, read the examples doc.

Installation

faq is still under heavy development and has only unstable binary releases. Behavior such as command-line flags may change causing shell scripts using faq to break after upgrading.

Linux

curl -Lo /usr/local/bin/faq https://github.com/jzelinskie/faq/releases/download/0.0.3/faq-linux-amd64
chmod +x /usr/local/bin/faq

macOS

brew tap jzelinskie/faq
brew install faq

Development

In order to compile the project, the latest stable version of Go and knowledge of a working Go environment are required. A modern version of jq that includes the libjq header files, must also be installed on the system. Reproducible builds are handled by using dep to vendor dependencies.

mkdir faq && export GOPATH=$PWD/faq
git clone [email protected]:jzelinskie/faq.git $GOPATH/src/github.com/jzelinskie/faq
cd $GOPATH/src/github.com/jzelinskie/faq
dep ensure
go install github.com/jzelinskie/faq
$GOPATH/bin/faq --help

License

faq is made available under the Apache 2.0 license. See the LICENSE file for details.

faq's People

Contributors

jfchevrette avatar jzelinskie avatar mumoshu avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.