cmd

package
v0.26.3-rc.1 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2023 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrBashCompletion       = errors.New("error generating bash completion")
	ErrZshCompletion        = errors.New("error generating zsh completion")
	ErrFishCompletion       = errors.New("error generating fish completion")
	ErrPowershellCompletion = errors.New("error generating powershell completion")
)

Functions

func NewCompletionCmd added in v0.25.0

func NewCompletionCmd(tracker *analytics.Tracker) *cobra.Command

func NewConnectCommand added in v0.25.0

func NewConnectCommand(tracker *analytics.Tracker) *cobra.Command

func NewCreateCommand added in v0.25.0

func NewCreateCommand(tracker *analytics.Tracker) *cobra.Command

func NewDeleteCommand added in v0.25.0

func NewDeleteCommand(tracker *analytics.Tracker) *cobra.Command

func NewDownloadCmd added in v0.25.0

func NewDownloadCmd(tracker *analytics.Tracker) *cobra.Command

func NewDumpCmd added in v0.25.0

func NewDumpCmd(tracker *analytics.Tracker) *cobra.Command

func NewLegacyCommand added in v0.25.0

func NewLegacyCommand(tracker *analytics.Tracker) *cobra.Command

func NewValidateCommand added in v0.25.0

func NewValidateCommand(tracker *analytics.Tracker) *cobra.Command

func NewVersionCmd added in v0.25.0

func NewVersionCmd(versions map[string]string, tracker *analytics.Tracker) *cobra.Command

Types

type RootCommand added in v0.25.0

type RootCommand struct {
	*cobra.Command
	// contains filtered or unexported fields
}

func NewRootCommand added in v0.25.0

func NewRootCommand(
	versions map[string]string,
	logFile *os.File,
	tracker *analytics.Tracker,
	token string,
) *RootCommand

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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