/pretgo

Basic CLI for format Json,HTML and XML!

Primary LanguageGoMIT LicenseMIT

PretGO

So basic cli for format json,html and xml!

Table of contents

Screenshots

Example screenshot

Setup

First clone project

git clone https://github.com/muratmirgun/pretgo

And install it

go install

Code Examples

Basic HTML format usage

➜ cat mes.html | pretgo -format="html"

Basic Json format usage

➜ cat mes.json | pretgo -format="json"

Basic XML format usage

➜ cat mes.xml | pretgo -format="xml"

Or use Dockerfile

# inside project
docker build -t pretgo-local .

Then use it with json

➜ cat mes.json | docker run -i --rm pretgo-local -format="json"

Or html

➜ cat mes.html | docker run -i --rm pretgo-local -format="html"

Or xml format

➜ cat mes.xml | docker run -i --rm pretgo-local -format="xml"

Status

Project is: in progress .

Contact

Created by @muratmirgun - feel free to contact me!