![](https://raw.githubusercontent.com/LordOfTrident/greasepaint/main/./res/logo.png)
π Go library for convenient CLI styling π€‘
Documentation Β· View Demo . Report Bug Β· Request Feature
Table of contents
A convenient CLI output styling library for Go which also handles omitting ansi sequences when redirected to a file for sane output.
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!"))
}
You can find examples in the examples folder.
Coming soon.
If you find any bugs, please, create an issue and report them.