shared

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: May 14, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ControllerFromCmd

func ControllerFromCmd(cmd *cobra.Command) (*controller.Exec, error)

ControllerFromCmd uses the centralized controller helper from kuke/shared.

func GetCascadeFromViper

func GetCascadeFromViper() bool

GetCascadeFromViper reads the cascade flag from viper.

func GetForceFromViper

func GetForceFromViper() bool

GetForceFromViper reads the force flag from viper.

func LoggerFromCmd

func LoggerFromCmd(cmd *cobra.Command) (*slog.Logger, error)

LoggerFromCmd uses the centralized logger helper from kuke/shared.

func ParseCascadeFlag

func ParseCascadeFlag(cmd *cobra.Command) bool

ParseCascadeFlag reads the persistent --cascade flag from the command.

func ParseForceFlag

func ParseForceFlag(cmd *cobra.Command) bool

ParseForceFlag reads the --force flag from the command.

Types

This section is empty.

Jump to

Keyboard shortcuts

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