output

package
v2.6.0-rc.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 12, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package output provides structured output for *cobra.Command. Writing JSON to stdout is enable by setting the --output=json flag.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Structured

func Structured(ctx context.Context) (stdout, stderr io.Writer)

func WithStructure

func WithStructure(ctx context.Context, cmd *cobra.Command) context.Context

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL