# Functions
Configv1ChangelogMessage creates a user readable changelog message.
Deprecated prints a deprecation message to the given command's stderr with a list of alternative commands.
NewColorPrinter returns a printer that ensures all output is the given color.
NewFlags returns a new Flags object with the given options applied.
NewJSONObjectWriter returns a new writer for JSON output.
NewStderrPrinter returns a printer that ensures all output is the color blue.
NewTableWriter returns an object marshaller that renders a table.
NewWriteObjectStreamer streams objects to the io.Writer provided.
NewWriterManager creates a new WriterManager.
NewYAMLObjectWriter returns a new YAMLObjectWriter, which marshals and streams yaml.
SetAutoWrapText sets whether or not the table writer should wrap text.
WithoutCreateFilePerObject is an option that configuration a writer to not output each object to a separate file.
WithoutOutputDirectory disables the out-dir flag.
WithWriter registers a writer with the given Format name.
# Constants
JSONFormat is used to indicate that the output of a command should be in JSON format.
JSONLFormat is used to indicate that the output of a command should be in JSON format using new line delimited JSON.
TableFormat is used to indicate that the output of a command should be printed as a table.
YAMLFormat is used to indicate that the output of a command should be in YAML format.
# Variables
DeprecatedTextColor is the color used for deprecation messages.
# Structs
ColorPrinter prints to a given io.Writer with color.
FileOps is the default implementation of FileOperation.
Flags is a struct that contains the configuration for the output flags.
JSONObjectWriter marshalls and writes JSON to an output stream.
ObjectWriterOpts are options for writing objects.
TableWriter marshalls and writes objects in a table format to an output stream.
WriterManager is a struct that manages the output of chronoctl.
YAMLObjectWriter is an ObjectWriter that marshals and streams yaml.
# Interfaces
FileOperation is an interface that abstracts the file operations for the various writer implementations of chronoctl.
ObjectWriter marshals an object and streams it to output.
# Type aliases
OutputOption is a function that configures output options for writers.
RowExtractor takes in an object and extracts a map of header name -> value.
Streamer is a callback for processing an individual entity.
TableOptions is a function that configures a TableWriter.