colors

package
v0.0.0-...-27de893 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package colors implement utilities for colorizing prompt, command and args printed to screen before execution.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Command

func Command(s string) string

Command returns a colorized version of the command string, including also its arguments

func Info

func Info(s string) string

Info return a colorized version of a generic message

func Prompt

func Prompt(hostname string) string

Prompt returns a colorized version of the command prompt

Types

This section is empty.

Jump to

Keyboard shortcuts

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