Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/muratmirgun/pretgo

Basic CLI for format Json, HTML and XML Yaml!
https://github.com/muratmirgun/pretgo

golang hacktoberfest html json prettier xml

Last synced: 20 days ago
JSON representation

Basic CLI for format Json, HTML and XML Yaml!

Awesome Lists containing this project

README

        

Redesign in progress

[![Contributors][contributors-shield]][contributors-url]
[![Forks][forks-shield]][forks-url]
[![Stargazers][stars-shield]][stars-url]
[![Issues][issues-shield]][issues-url]
[![MIT License][license-shield]][license-url]
[![LinkedIn][linkedin-shield]][linkedin-url]





Logo

PRETGO


Command Line Pretty Print Build with Golang


Explore the docs »



Report Bug
·
Request Feature


Table of Contents



  1. About The Project


  2. Getting Started


  3. Usage

  4. Roadmap

  5. Contributing

  6. License

  7. Contact

## About The Project

> A very simple CLI for Json, Html, Yaml and ml format! And now it also works with Http Requests!

(back to top)

## Getting Started

This is an example of how you may give instructions on setting up your project locally.
To get a local copy up and running follow these simple example steps.

### Installation

1. Install the cli with Go Install:
```sh
go install github.com/muratmirgun/pretgo@latest
```

(back to top)

## Usage

For basic usage examples, run the following commands:

```sh
$ pretgo --help
```

Example for json type
```sh
$ cat mess.json | pretgo json
```
or

```sh
$ pretgo json file mess.json
```

(back to top)

## Roadmap

- [x] Json Pretty Print
- [x] Xml Pretty Print
- [x] Html Pretty Print
- [x] Yaml Pretty Print
- [ ] Handle Requests and Pretty Print

See the [open issues](https://github.com/muratmirgun/pretgo/issues) for a full list of proposed features (and known issues).

(back to top)

## Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are **greatly appreciated**.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement".
Don't forget to give the project a star! Thanks again!

1. Fork the Project
2. Create your Feature Branch (`git checkout -b feature/AmazingFeature`)
3. Commit your Changes (`git commit -m 'Add some AmazingFeature'`)
4. Push to the Branch (`git push origin feature/AmazingFeature`)
5. Open a Pull Request

(back to top)

## License

Distributed under the MIT License. See `LICENSE.txt` for more information.

(back to top)

## Contact

Murat Mirgun Ercan - [@muratmirgun](https://twitter.com/muratmirgun) - [email protected]

Project Link: [https://github.com/muratmirgun/pretgo](https://github.com/muratmirgun/pretgo)

(back to top)

[contributors-shield]: https://img.shields.io/github/contributors/muratmirgun/pretgo.svg?style=for-the-badge
[contributors-url]: https://github.com/muratmirgun/pretgo/graphs/contributors
[forks-shield]: https://img.shields.io/github/forks/muratmirgun/pretgo.svg?style=for-the-badge
[forks-url]: https://github.com/muratmirgun/pretgo/network/members
[stars-shield]: https://img.shields.io/github/stars/muratmirgun/pretgo.svg?style=for-the-badge
[stars-url]: https://github.com/muratmirgun/pretgo/stargazers
[issues-shield]: https://img.shields.io/github/issues/muratmirgun/pretgo.svg?style=for-the-badge
[issues-url]: https://github.com/muratmirgun/pretgo/issues
[license-shield]: https://img.shields.io/github/license/muratmirgun/pretgo.svg?style=for-the-badge
[license-url]: https://github.com/muratmirgun/pretgo/blob/master/LICENSE.txt
[linkedin-shield]: https://img.shields.io/badge/-LinkedIn-black.svg?style=for-the-badge&logo=linkedin&colorB=555
[linkedin-url]: https://linkedin.com/in/murat-m-ercan
[product-screenshot]: images/screenshot.png