import "github.com/gohugoio/hugo/common/terminal"
Package terminal contains helper for the terminal, such as coloring output.
Error colorizes the string in a colour that grabs attention.
IsTerminal return true if the file descriptor is terminal and the TERM environment variable isn't a dumb one.
Notice colorizes the string in a noticeable color.
Warning colorizes the string in a colour that warns.
Package terminal imports 5 packages (graph) and is imported by 14 packages. Updated 2018-11-10. Refresh now. Tools for package owners.