cmd

package
v1.5.2 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2018 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var LogLevel string
View Source
var RootCmd = &cobra.Command{
	Use:   "snyk-docker-analyzer",
	Short: "snyk-docker-analyzer is a tool for analyzing and comparing container images",
	Long:  "snyk-docker-analyzer is a CLI tool for analyzing and comparing container images.",
	PersistentPreRun: func(c *cobra.Command, s []string) {
		ll, err := logrus.ParseLevel(LogLevel)

		if err != nil {
			fmt.Println(err)
			os.Exit(1)
		}
		logrus.SetLevel(ll)
	},
}

Functions

This section is empty.

Types

This section is empty.

Directories

Path Synopsis
util

Jump to

Keyboard shortcuts

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