cmd

package
v0.0.0-...-db27fb8 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2021 License: NCSA Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RootCmd = &cobra.Command{
	Use:   "ssh-auditor",
	Short: "ssh-auditor tests ssh server password security",
	Long:  `Complete documentation is available at https://github.com/ncsa/ssh-auditor`,
	PersistentPreRunE: func(cmd *cobra.Command, args []string) error {
		if debug {
			log.Root().SetHandler(log.LvlFilterHandler(
				log.LvlDebug,
				log.StderrHandler))
		} else {
			log.Root().SetHandler(log.LvlFilterHandler(
				log.LvlInfo,
				log.StderrHandler))
		}
		return initStore()
	},
}

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