cli

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2026 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ConfigName = "manager"
	LogLevel   = "level"
	Name       = "flecto-manager"
)
View Source
const CmdValidateName = "validate"

Variables

This section is empty.

Functions

func GetDBCmd

func GetDBCmd(ctx *context.Context) *cobra.Command

func GetDefaultConfigPath

func GetDefaultConfigPath() string

func GetRootCmd

func GetRootCmd(ctx *context.Context) *cobra.Command

func GetRootPreRunEFn

func GetRootPreRunEFn(ctx *context.Context, validateCfg bool) func(*cobra.Command, []string) error

func GetStartCmd

func GetStartCmd(ctx *context.Context) *cobra.Command

func GetStartRunFn

func GetStartRunFn(ctx *context.Context) func(*cobra.Command, []string) error

func GetUserCmd

func GetUserCmd(ctx *context.Context) *cobra.Command

func GetValidateCmd

func GetValidateCmd(ctx *context.Context) *cobra.Command

func GetValidateRunFn

func GetValidateRunFn(ctx *context.Context) func(*cobra.Command, []string) error

func GetVersionCmd

func GetVersionCmd() *cobra.Command

func GetVersionRunFn

func GetVersionRunFn() func(*cobra.Command, []string)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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