cmd

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddCommonArgs

func AddCommonArgs(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 FilterScans added in v0.9.0

func FilterScans(scans []string) []string

func GetExcludeScans added in v0.7.3

func GetExcludeScans() []string

func GetIncludeScans added in v0.7.3

func GetIncludeScans() []string

func GetNoProgress added in v0.8.1

func GetNoProgress() bool

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 NewHTTPClientFromCmd added in v0.9.0

func NewHTTPClientFromCmd(cmd *cobra.Command) (*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)

func SetReportFile added in v0.9.0

func SetReportFile(f string)

func SetReportURL added in v0.9.0

func SetReportURL(u string)

func SetSeverityThreshold added in v0.9.0

func SetSeverityThreshold(t float64)

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