color

package
v0.27.0-beta8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 30, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Color package is for printing a uniform set of colors for the CLI

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bold

func Bold(s string) string

Bold makes a string bold

func CodeSnippet

func CodeSnippet(format string) string

CodeSnippet returns a colored string for code and command snippets

func Error

func Error(format string) string

Error returns a colored string for error messages

func Info

func Info(format string) string

Info returns a colored string for information messages

func Italic added in v0.27.0

func Italic(s string) string

Italic makes a string italicized

func Success

func Success(format string) string

Success returns a colored string for success messages

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL