cmd

package
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewConfigCommand

func NewConfigCommand(componentName string, defaultComponentConfigFunc func() (interface{}, error)) *cobra.Command

NewConfigCommand returns cobra.Command for "<component> config" command

func NewGenDocCommand

func NewGenDocCommand(name string) *cobra.Command

func NewVersionCommand

func NewVersionCommand(name string) *cobra.Command

NewVersionCommand returns cobra.Command for "<component> version" command

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