package
0.26.1
Repository: https://github.com/go-vela/cli.git
Documentation: pkg.go.dev

# Functions

ColorOptionsFromCLIContext creates a ColorOptions from a CLI context.
Dump outputs the provided input to stdout using github.com/davecgh/go-spew/spew to dump the input.
Highlight uses chroma to highlight the provided yaml string.
JSON parses the provided input and renders the parsed input in pretty JSON before outputting it to stdout.
RawJSON parses the provided input and renders the parsed input in raw JSON before outputting it to stdout.
Spew outputs the provided input to stdout using github.com/davecgh/go-spew/spew to verbosely print the input.
Stderr outputs the provided input to stderr.
Stdout outputs the provided input to stdout.
YAML parses the provided input and renders the parsed input in YAML before outputting it to stdout.

# Constants

DriverDump defines the driver type when outputting in dump format.
DriverJSON defines the driver type when outputting in JSON format.
DriverRawJSON defines the driver type when outputting in raw JSON format.
DriverSpew defines the driver type when outputting in github.com/davecgh/go-spew/spew format.
DriverStderr defines the driver type when outputting in stderr format.
DriverStdout defines the driver type when outputting in stdout format.
DriverYAML defines the driver type when outputting in YAML format.

# Structs

ColorOptions defines the output color options used for syntax highlighting.