Discover Packages
github.com/buildkite/cli/v3
pkg
output
package
Version:
v3.9.0
Opens a new window with list of versions in this module.
Published: Jun 24, 2025
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
AddFlags adds format flag to the command flags
Write outputs the given value in the specified format to the writer
Format represents the output format type
const (
FormatJSON Format = "json"
FormatYAML Format = "yaml"
FormatText Format = "text"
)
GetFormat gets the format from command flags
type Formatter interface {
TextOutput() string
}
Formatter is an interface that types must implement to support formatted output
Source Files
¶
Click to show internal directories.
Click to hide internal directories.