skydive

package
v0.28.0 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2021 License: Apache-2.0 Imports: 16 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RootCmd = &cobra.Command{
	Use:          "skydive [sub]",
	Short:        "Skydive",
	SilenceUsage: true,
	PersistentPreRun: func(c *cobra.Command, args []string) {
		if verbose, _ := c.Flags().GetBool("verbose"); verbose {
			os.Setenv("SKYDIVE_LOGGING_LEVEL", "debug")
		}

		if err := config.LoadConfiguration(cmd.CfgBackend, cmd.CfgFiles); err != nil {
			logging.GetLogger().Error(err)
			os.Exit(1)
		}
	},
}

RootCmd describes the skydive root command

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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