jq-in-go

command module
v0.0.0-...-8e5558c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 24, 2020 License: Apache-2.0 Imports: 1 Imported by: 0

README

JQ in Go

A command line JSON processor in Go. Trying to replicate stedolan/jq in Go and learning along.

BUILDS: CircleCI Build Status
Code Mertics: codecov BCH compliance CodeFactor Go Report Card
Docker Metrics:

Usage

  jq-in-go '<selector>' <input-json-file> [flags]

Examples:

jq-in-go -c '.' ~/input.json

Flags:

  -c, --compact   Print JSON in compact
  -h, --help      help for jq-in-go
      --version   version for jq-in-go

Build

go get -u github.com/spf13/cobra/cobra
go build -o jqingo main.go

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL