LordOfTrident / greasepaint

πŸ’… Go library for convenient CLI styling 🀑

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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)

About

πŸ’… Go library for convenient CLI styling 🀑

License:MIT License


Languages

Language:Go 99.8%Language:Shell 0.2%