cli

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2026 License: MIT Imports: 23 Imported by: 0

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

func Main

func Main(args []string, stdout, stderr io.Writer) int

Main runs the CLI and returns the exit code.

Types

This section is empty.

Jump to

Keyboard shortcuts

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