Documentation ¶
Index ¶
- func AddAddressFlag(cmd *cobra.Command, v *string)
- func AddComponentPathFlag(cmd *cobra.Command, v *string)
- func AddOutputFileFlag(cmd *cobra.Command, v *string)
- func Errf(errFmt string, err error) error
- func ExitOnErr(cmd *cobra.Command, err error)
- func PrintObjectHeader(cmd *cobra.Command, h object.Object)
- func WriteObjectToFile(cmd *cobra.Command, path string, data []byte)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddAddressFlag ¶
AddAddressFlag adds the address flag to the passed cobra command.
func AddComponentPathFlag ¶
AddComponentPathFlag adds the path-to-component flag to the passed cobra command.
func AddOutputFileFlag ¶
AddOutputFileFlag adds the output file flag to the passed cobra command.
func PrintObjectHeader ¶
PrintObjectHeader prints passed object's header fields via the passed cobra command. Does nothing with the payload.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.