gonvert

command module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2023 License: MIT Imports: 1 Imported by: 0

README

gat

GitHub release (latest by date) GitHub Workflow Status Go Report Card LICENSE

Convert between JSON, YAML

Installation

Homebrew
$ brew install koki-develop/tap/gonvert
go install
$ go install github.com/koki-develop/gonvert@latest
Releases

Download the binary from the releases page.

Usage

$ gonvert --help
Convert between JSON, YAML

Usage:
  gonvert [command]

Available Commands:
  completion  Generate the autocompletion script for the specified shell
  help        Help about any command
  json2yaml   Convert JSON to YAML
  yaml2json   Convert YAML to JSON

Flags:
  -h, --help   help for gonvert

Use "gonvert [command] --help" for more information about a command.
JSON to YAML
$ gonvert json2yaml --help
Convert JSON to YAML.

Usage:
  gonvert json2yaml [flags]

Aliases:
  json2yaml, jsontoyaml, json2yml, jsontoyml, j2y, jtoy, jy

Flags:
  -h, --help   help for json2yaml
YAML to JSON
$ gonvert yaml2json --help
Convert YAML to JSON.

Usage:
  gonvert yaml2json [flags]

Aliases:
  yaml2json, yamltojson, yml2json, ymltojson, y2j, ytoj, yj

Flags:
  -h, --help   help for yaml2json

LICENSE

MIT

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

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