So basic cli for format json,html and xml!
git clone https://github.com/muratmirgun/pretgo
go install
➜ cat mes.html | pretgo -format="html"
➜ cat mes.json | pretgo -format="json"
➜ cat mes.xml | pretgo -format="xml"
# inside project
docker build -t pretgo-local .
➜ cat mes.json | docker run -i --rm pretgo-local -format="json"
➜ cat mes.html | docker run -i --rm pretgo-local -format="html"
➜ cat mes.xml | docker run -i --rm pretgo-local -format="xml"
Project is: in progress .
Created by @muratmirgun - feel free to contact me!