cmd

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2026 License: MIT Imports: 13 Imported by: 0

Documentation

Overview

Package cmd implements the CLI for secretscan-go.

Index

Constants

This section is empty.

Variables

View Source
var Version = "1.0.0"

Version is set at build time.

Functions

func Run

func Run() int

Run is the main entry point for the CLI.

Types

type CLI

type CLI struct {
	Command    string
	Args       []string
	ConfigPath string
	OutputPath string
	Format     string
	Workers    int
	Redact     int
	Verbose    bool
	Staged     bool
	MaxSizeMB  int
	Since      string
	Timeout    time.Duration
	ExitCode   int
}

CLI holds the parsed command-line arguments.

Jump to

Keyboard shortcuts

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