Documentation
¶
Overview ¶
Package cli is the lintuition command line. It is public so a custom binary, built with extra plugin linters and classifiers, runs the same commands.
Index ¶
Constants ¶
View Source
const ( ExitClean = 0 ExitIncomplete = 2 )
Exit codes. ExitIncomplete is reserved: a run that could not analyse everything it was asked to never exits as clean or as a plain findings exit.
Variables ¶
View Source
var Plugins []string
Plugins lists the plugin modules compiled into a custom binary, "module version" each; the main that `lintuition custom` generates fills it in.
View Source
var Version = ""
Version is set at build time with -ldflags "-X github.com/ssgreg/lintuition/cli.Version=v0.1.0".
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.