cmd

package
v0.8.8 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2025 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddCommonArgs

func AddCommonArgs(cmd *cobra.Command)

func AddPlaceholderArgs

func AddPlaceholderArgs(cmd *cobra.Command)

func ClearValues added in v0.8.5

func ClearValues()

func ExportJSON added in v0.8.0

func ExportJSON(report *report.Reporter) ([]byte, error)

func ExportYAML added in v0.8.0

func ExportYAML(report *report.Reporter) ([]byte, error)

func GetAuthUser added in v0.8.5

func GetAuthUser() string

func GetCookies

func GetCookies() []string

func GetExcludeScans added in v0.7.3

func GetExcludeScans() []string

func GetHeaders

func GetHeaders() []string

func GetIncludeScans added in v0.7.3

func GetIncludeScans() []string

func GetNoProgress added in v0.8.1

func GetNoProgress() bool

func GetProxy

func GetProxy() string

func GetRateLimit

func GetRateLimit() string

func GetReportFormat added in v0.8.2

func GetReportFormat() string

func GetReportTransport added in v0.8.2

func GetReportTransport() string

func GetSeverityThreshold added in v0.8.0

func GetSeverityThreshold() float64

func NewHTTPClientFromArgs

func NewHTTPClientFromArgs(rateLimitArg string, proxyArg string, headersArg []string, httpCookiesArg []string) (*request.Client, error)

func NewProgressBar

func NewProgressBar(max int) *progressbar.ProgressBar

func PrintOrExportReport added in v0.8.0

func PrintOrExportReport(format string, transport string, report *report.Reporter) error

func PrintTable added in v0.8.0

func PrintTable(report *report.Reporter)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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