all options
stretch  ] [  buster  ] [  bullseye  ] [  bookworm  ] [  sid  ]
[ Source: golang-github-ttacon-chalk  ]

Package: golang-github-ttacon-chalk-dev (0.1-1)

Links for golang-github-ttacon-chalk-dev


Debian Resources:

Download Source Package golang-github-ttacon-chalk:


External Resources:

Similar packages:

Go library for prettifying terminal/console output

Chalk is a go package for styling console/terminal output.

Check out godoc for some example usage:

The api is pretty clean, there are default Colors and TextStyles which can be mixed to create more intense Styles. Styles and Colors can be printed in normal strings (i.e. fmt.Sprintf(chalk.Red)), but Styles, Colors and TextStyles are more meant to be used to style specific text segments (i.e. fmt.Println(chalk.Red.Color("this is red")) or fmt.Println(myStyle.Style("this is blue text that is underlined"))).

This package contains the source.

Download golang-github-ttacon-chalk-dev

Download for all available architectures
Architecture Package Size Installed Size Files
all 73.4 kB103.0 kB [list of files]