package
0.0.0-20231213160404-c9fa653bf58b
Repository: https://github.com/ndeloof/cli.git
Documentation: pkg.go.dev

# Functions

Inspect fetches objects by reference using GetRefFunc and writes the json representation to the output writer.
NewIndentedInspector generates a new inspector with an indented representation of elements.
NewJSONInspector generates a new inspector with a compact representation of elements.
NewTemplateInspector creates a new inspector with a template.
NewTemplateInspectorFromString creates a new TemplateInspector from a string which is compiled into a template.

# Structs

TemplateInspector uses a text template to inspect elements.

# Interfaces

Inspector defines an interface to implement to process elements.

# Type aliases

GetRefFunc is a function which used by Inspect to fetch an object from a reference.