Discover Packages
github.com/openshift-online/ocm-cli
pkg
dump
package
Version:
v0.1.73
Opens a new window with list of versions in this module.
Published: Apr 2, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 5
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package dump contains functions used to dump JSON documents to the output of the tool.
Pretty dumps the given data to the given stream so that it looks pretty. If the data is a valid
JSON document then it will be indented before printing it. If the stream is a terminal then the
output will also use colors.
Single functions exactly the same as Pretty except it generates a single line without indentation
or any other white space.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.