cmd

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: May 19, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RootCommand = NewRootCommand()

Functions

func NewInitCommand

func NewInitCommand() *cobra.Command

NewInitCommand returns a new instance of the show command.

func NewPullCommand added in v0.7.1

func NewPullCommand() *cobra.Command

NewPullCommand returns a new instance of the show command.

func NewRootCommand added in v1.0.3

func NewRootCommand() *cobra.Command

NewRootCommand constructs root command.

func NewScanCommand

func NewScanCommand() *cobra.Command

NewScanCommand returns a new instance of the scan command.

func NewShowCommand

func NewShowCommand() *cobra.Command

NewShowCommand returns a new instance of the show command.

func NewViewCommand added in v1.0.3

func NewViewCommand() *cobra.Command

NewViewCommand returns a new instance of the show command.

Types

type InitOptions

type InitOptions struct {
	ProjectDir string
	Force      bool
}

InitOptions represents scan command options.

type PullOptions added in v0.7.1

type PullOptions struct {
	Linter     string
	ProjectDir string
}

PullOptions represents pull command options.

type ShowOptions

type ShowOptions struct {
	ProjectDir string
	ResultsDir string
	ReportDir  string
	Port       int
	OpenDir    bool
}

ShowOptions represents scan command options.

type ViewOptions added in v1.0.3

type ViewOptions struct {
	SarifFile string
}

ViewOptions represents scan command options.

Jump to

Keyboard shortcuts

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