gss

command
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2019 License: MIT Imports: 19 Imported by: 0

Documentation

Overview

gss is the command line program for go-simple-serializer (GSS).

Usage

Use `gss help` to see full help documentation.

gss -i INPUT_FORMAT -o OUTPUT_FORMAT [flags]

Examples

# convert .gitignore to JSON
cat .gitignore | gss -i csv --input-header path -o json

# extract version from CircleCI config
cat .circleci/config.yml | gss -i yaml -o json -c '#' | jq -r .version

# convert list of files to JSON Lines
find . -name '*.go' | gss -i csv --input-header path -o jsonl

Jump to

Keyboard shortcuts

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