command

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2022 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetRunner

func GetRunner(command Command) func(cmd *cobra.Command, args []string)

Types

type Command

type Command interface {
	Complete(cmd *cobra.Command, args []string) error
	Validate() error
	Run() error
}

type Options

type Options struct {
	Writer     io.Writer
	Version    types.Version
	Config     configs.Config
	APIService service.APIServiceInterface
	SSEService service.SSEServiceInterface
}

Jump to

Keyboard shortcuts

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