jaml

command module
v0.0.0-...-ea41e23 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2021 License: MIT Imports: 6 Imported by: 0

README

jaml

command line "JSON to YAML" or "YAML to JSON" converter

how to install and first run
# Install for Mac
sudo bash -c 'curl -fLR https://github.com/djeeno/jaml/releases/download/0.0.1/jaml_darwin_amd64 -o /usr/local/bin/jaml && chmod +x /usr/local/bin/jaml'

# Install for Linux
sudo bash -c 'curl -fLR https://github.com/djeeno/jaml/releases/download/0.0.1/jaml_linux_amd64 -o /usr/local/bin/jaml && chmod +x /usr/local/bin/jaml'

# Install for Windows
Invoke-WebRequest https://github.com/djeeno/jaml/releases/download/0.0.1/jaml_windows_amd64.exe -OutFile jaml.exe

# Get JSON
curl -fSs https://httpbin.org/get

# Convert JSON to YAML
curl -fSs https://httpbin.org/get | jaml

# Convert YAML to JSON
curl -fSs https://httpbin.org/get | jaml | jaml

# Convert JSON to YAML ...
curl -fSs https://httpbin.org/get | jaml | jaml | jaml

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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