Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseOptions ¶
func ParseOptions(options *Options)
ParseOptions parses the command line flags provided by a user
Types ¶
type Options ¶
type Options struct { Input string // input file Output string // output directory BinPath string // path to the scanner executable ExtraHelp bool // show scanner executable help ExtraFlags []string // extra flags passed directly to the scanner - use ExtraHelp to show them }
Options holds the default options for a scanner
type Scanner ¶
type Scanner struct { Name string // name of the scanner DefaultBinary string // default value for BinPath - defaults to `Name` }
Scanner holds scanner configuration
func (*Scanner) BuildOptions ¶
BuildOptions parses the command line flags provided by a user
func (*Scanner) GetDefaultBinaryPath ¶
Click to show internal directories.
Click to hide internal directories.