cmd

package
v0.0.0-...-5e91162 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

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 NewGenDocCommand

func NewGenDocCommand() *cobra.Command

func NewVersionCmd

func NewVersionCmd() *cobra.Command

func PrintInfo

func PrintInfo() error

func PrintToStd

func PrintToStd(OutputInfo *version.Output) error

Types

type GenDocCommand

type GenDocCommand struct {
	// contains filtered or unexported fields
}

GenDocCommand is used to implement 'gen-doc' command.

Jump to

Keyboard shortcuts

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