package
2.11.0
Repository: https://github.com/cli/go-gh.git
Documentation: pkg.go.dev

# Functions

FromEnv initializes a Term from [os.Stdout] and environment variables: - GH_FORCE_TTY - NO_COLOR - CLICOLOR - CLICOLOR_FORCE - TERM - COLORTERM.
IsColorDisabled returns true if environment variables NO_COLOR or CLICOLOR prohibit usage of color codes in terminal output.
IsColorForced returns true if environment variable CLICOLOR_FORCE is set to force colored terminal output.
IsTerminal reports whether a file descriptor is connected to a terminal.

# Structs

Term represents information about the terminal that a process is connected to.