cmd

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: May 25, 2026 License: MIT Imports: 147 Imported by: 0

Documentation

Overview

Package cmd defines Leakwatch CLI commands. This package is a thin wiring layer; it must not contain business logic.

Package cmd defines Leakwatch CLI commands. This package is a thin wiring layer; it must not contain business logic.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute() int

Execute runs the root command and returns the exit code.

func SetVersionInfo

func SetVersionInfo(version, commit, date string)

SetVersionInfo sets build information (called from main.go).

Types

type FindingsExitError

type FindingsExitError struct {
	Count int
}

FindingsExitError indicates that secrets were found (exit code 1).

func (*FindingsExitError) Error

func (e *FindingsExitError) Error() string

Jump to

Keyboard shortcuts

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