cmd

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ChannelPrinter

func ChannelPrinter(entities chan ldsview.Entity, done chan bool, cmd *cobra.Command)

ChannelPrinter concurrently prints entity results and signals shared `done` channel when finished

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

func PrintAttribute

func PrintAttribute(attr ldsview.EntityAttribute)

func PrintEntity

func PrintEntity(entity ldsview.Entity, decodeTS bool)

Types

This section is empty.

Jump to

Keyboard shortcuts

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