cmd

package
v0.0.0-...-8a9faf9 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2019 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmd

func NewCmd(useDesc, shortDesc, longDesc, st string) *cobra.Command

NewCmd creates a new command based on the args

Types

type Config

type Config struct {
	Debug            bool
	Concurrency      int
	Region           string
	PermutationsFile string
	State            string
	Keywords         []string
	Domains          []string
	Stats            *stats.Stats
	Generate         bool
	GenerateFile     string
}

Config struct; stores config for global usage

func Init

func Init(useDesc, shortDesc, longDesc string) Config

Init initializes goroutine concurrency and initializes cobra

Jump to

Keyboard shortcuts

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