cmd

package
v0.0.0-...-4d1a1fc Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2017 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AccessId, DefaultOrg, SecretKey, BaseUrl, LogLevel, Version string
View Source
var RootCmd = &cobra.Command{
	Use:   "threatconnect",
	Short: "Tool that allows users to access ThreatConnect data from a command-line shell.",
	Long:  `Tool that allows users to access ThreatConnect data from a command-line shell.`,
}

RootCmd represents the base command when called without any subcommands

Functions

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

func SetupLogging

func SetupLogging(lvl string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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