cmd

package
v4.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDefaultImporterCommand

func NewDefaultImporterCommand() *cobra.Command

func NewImporterCommand

func NewImporterCommand(o *ImporterOptions) *cobra.Command

Types

type ImporterOptions

type ImporterOptions struct {
	common.IOStreams
	Arguments  []string
	ConfigFile string
	// contains filtered or unexported fields
}

func NewImporterOptions

func NewImporterOptions(streams common.IOStreams) *ImporterOptions

func (*ImporterOptions) AddFlags

func (o *ImporterOptions) AddFlags(cmd *cobra.Command)

func (*ImporterOptions) Complete

func (*ImporterOptions) Complete(_ *cobra.Command, _ []string) error

func (*ImporterOptions) Run

func (o *ImporterOptions) Run(_ *cobra.Command, _ []string) error

func (*ImporterOptions) Validate

func (o *ImporterOptions) Validate() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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