cliui
package v0.4.1
Go to latest Published: Jan 7, 2025 License:CC0-1.0
Opens a new window with list of versions in this module.
Latest LatestThis package is not in the latest version of its module.
Opens a new window with license information.
Imports:7 Opens a new window with list of imports.
Imported by:0 Opens a new window with list of known importers.
Details
Validgo.mod file
The Go module system was introduced in Go 1.11 and is the official dependency management solution for Go.
Redistributable license
Redistributable licenses place minimal restrictions on how software can be used, modified, and redistributed.
Tagged version
Modules with tagged versions give importers more predictable builds.
Stable version
When a project reaches major version v1 it is considered stable.
- Learn more about best practices
Repository
Links
Documentation¶
Index¶
- Variables
- func Bold(s string) string
- func BoldFmt() pretty.Formatter
- func Code(s string) string
- func Color(s string) termenv.Color
- func Field(s string) string
- func Keyword(s string) string
- func Placeholder(s string) string
- func Timestamp(t time.Time) string
- func ValidateNotEmpty(s string) error
- func Wrap(s string) string
- type Styles
Constants¶
This section is empty.
Variables¶
View Source
var (Green =Color("#04B575")Red =Color("#ED567A")Fuchsia =Color("#EE6FF8")Yellow =Color("#ECFD65")Blue =Color("#5000ff"))
View Source
var Canceled =xerrors.New("canceled")
Functions¶
funcValidateNotEmpty¶
ValidateNotEmpty is a helper function to disallow empty inputs!
Types¶
Click to show internal directories.
Click to hide internal directories.