root

package
v0.15.2 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2025 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RootCmd = &cobra.Command{
	Use: "kubeaid-core",

	PersistentPreRun: func(cmd *cobra.Command, args []string) {

		err := os.MkdirAll(constants.OutputsDirectory, 0o750)
		assert.AssertErrNil(cmd.Context(), err, "Failed ensuring that outputs directory exists")

		logger.InitLogger(globals.IsDebugModeEnabled)
	},

	RunE: func(cmd *cobra.Command, args []string) error {
		return cmd.Help()
	},
}

Functions

This section is empty.

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