initcmd

package
v0.36.0-flux.2 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdInit

func NewCmdInit(f cmdutil.Factory, ioStreams genericclioptions.IOStreams) *cobra.Command

NewCmdInit returns the cobra command for the init command.

Types

type InitRunner

type InitRunner struct {
	Command     *cobra.Command
	InitOptions *config.InitOptions
}

InitRunner encapsulates the structures for the init command.

func GetInitRunner

func GetInitRunner(f cmdutil.Factory, ioStreams genericclioptions.IOStreams) *InitRunner

GetInitRunner builds and returns the InitRunner. Connects the InitOptions.Run to the cobra command.

Jump to

Keyboard shortcuts

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