package
2.0.0-rc.2+incompatible
Repository: https://github.com/docker/compose-cli.git
Documentation: pkg.go.dev

# Functions

NewLogConsumer creates a new LogConsumer.
Print prints formatted lists in different formats.
PrintPrettySection prints a tabbed section on the writer parameter.
SetANSIMode configure formatter for colored output on ANSI-compliant console.
SetMultiErrorFormat set cli default format for multi-errors.
ToJSON return a string with the JSON representation of the interface{}.
ToStandardJSON return a string with the JSON representation of the interface{}.

# Constants

Always use ANSI codes.
Auto detect terminal is a tty and can use ANSI codes.
JSON is the constant for Json formats on list commands.
Never use ANSI codes.
PRETTY is the constant for default formats on list commands.
TemplateLegacyJSON the legacy json formatting value using go template.