Documentation
¶
Overview ¶
Package clirender renders the clicky CLI's data inputs: schema-backed data files and schema-less stdin/file input, to stdout, stderr or file sinks.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RenderDataFiles ¶
RenderDataFiles loads the PrettyObject schema from schemaFile and renders each JSON/YAML data file with it.
Types ¶
type Options ¶
type Options struct {
Stdin io.Reader
Stdout io.Writer
Stderr io.Writer
Format formatters.FormatOptions
}
Options carries the command's streams and resolved format options.
Click to show internal directories.
Click to hide internal directories.