cli

package
v1.18.32 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ExecuteCliModule = fx.Module(
	"main",
	fx.Provide(
		fx.Annotate(
			NewFxCli,
			fx.As(new(fxcli.Main)),
		),
	),
)
View Source
var Module = fx.Module("cli",
	fx.Provide(
		newRootCommand,
		newApplyCommand,
		newVendorCommand,
		newUnvendorCmd,
		newPlanCommand,
		newExecuteBase,
		newVersionCmd,
		RootCobraCommand,
	),
)

Functions

func RootCobraCommand

func RootCobraCommand(r *rootCmd, s *planCmd, a *applyCmd, v *vendorCmd, u *unvendorCmd, ver *versionCmd) *cobra.Command

Types

type FxCli

type FxCli struct {
	// contains filtered or unexported fields
}

func NewFxCli

func NewFxCli(cmd *cobra.Command) *FxCli

func (*FxCli) Run

func (f *FxCli) Run()

Jump to

Keyboard shortcuts

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