/greasepaint

💅 Go library for convenient CLI styling 🤡

Primary LanguageGoMIT LicenseMIT

License Contributors Stars Issues Pull requests


greasepaint

💅 Go library for convenient CLI styling 🤡

Documentation · View Demo . Report Bug · Request Feature


Table of contents

Introduction

A convenient CLI output styling library for Go which also handles omitting ansi sequences when redirected to a file for sane output.

Demo

Usage

Add this package to your project

$ go get github.com/LordOfTrident/greasepaint

And import it

package main

import (
	"fmt"

	gp "github.com/LordOfTrident/greasepaint"
)

func main() {
	fmt.Println(gp.Center("Hello, world!"))
}

Example

You can find examples in the examples folder.

Documentation

Coming soon.

Bugs

If you find any bugs, please, create an issue and report them.



Go ansi-go

Made with ❤️ love

(Back to top)