Help us shape the future of Go! Take the 2026 Go Developer Survey

cli

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2026 License: MIT Imports: 29 Imported by: 0

Documentation

Overview

Package cli implements TagLock's standalone command surface.

Index

Constants

View Source
const (
	ExitOK         = 0
	ExitViolations = 1
	ExitUsage      = 2
	ExitAnalysis   = 3
)

Variables

This section is empty.

Functions

func MarshalDiagnostics

func MarshalDiagnostics(fileSet *token.FileSet, diagnostics []rules.Diagnostic) ([]byte, error)

MarshalDiagnostics is retained for small CLI integration helpers.

func Run

func Run(arguments []string, stdout, stderr io.Writer) int

Run executes one command and returns a stable process 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