cmd

package
v0.0.0-...-5b4dd8e Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Reset = "\033[0m"
	Red   = "\033[31m"
	Green = "\033[32m"
)

Variables

This section is empty.

Functions

func Execute

func Execute()

This is called by main.main(). It only needs to happen once to the rootCmd.

Types

type CommandJob

type CommandJob struct {
	Command string
	Args    []string

	TriggerPath string
	// contains filtered or unexported fields
}

type Context

type Context struct {
	Arg []string
	Env []map[string]string
}

type ScanConfig

type ScanConfig struct {
	Jobs []ScanJob
}

type ScanJob

type ScanJob struct {
	Name    string
	Pattern string
	Command []string
}

Jump to

Keyboard shortcuts

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