Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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!
- Host: GitHub
- URL: https://github.com/muratmirgun/pretgo
- Owner: muratmirgun
- License: mit
- Created: 2021-07-25T13:27:50.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-05-18T02:56:44.000Z (6 months ago)
- Last Synced: 2024-10-13T06:11:10.582Z (about 1 month ago)
- Topics: golang, hacktoberfest, html, json, prettier, xml
- Language: Go
- Homepage: https://muratmirgun.github.io/pretgo/
- Size: 5.12 MB
- Stars: 32
- Watchers: 2
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- Code of conduct: CODE_OF_CONDUCT.md
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]
Table of Contents
## About The Project
> A very simple CLI for Json, Html, Yaml and ml format! And now it also works with Http Requests!
## 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
```## 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
```## Roadmap
- [x] Json Pretty Print
- [x] Xml Pretty Print
- [x] Html Pretty Print
- [x] Yaml Pretty Print
- [ ] Handle Requests and Pretty PrintSee the [open issues](https://github.com/muratmirgun/pretgo/issues) for a full list of proposed features (and known issues).
## 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## License
Distributed under the MIT License. See `LICENSE.txt` for more information.
## Contact
Murat Mirgun Ercan - [@muratmirgun](https://twitter.com/muratmirgun) - [email protected]
Project Link: [https://github.com/muratmirgun/pretgo](https://github.com/muratmirgun/pretgo)
[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