Documentation
¶
Index ¶
- Variables
- func BoolFlagEnabled(args []string, long string) bool
- func HasFlag(args []string, long string) bool
- func NormalizeFlags(args []string, known map[string]struct{}, aliases map[string]string) []string
- func ResolveRelativePaths(args []string, fileFlags map[string]bool, workDir string) []string
- type Base
Constants ¶
This section is empty.
Variables ¶
View Source
var CommonAliases = map[string]string{
"-etags": "-exclude-tags",
"-eid": "-exclude-id",
"-es": "-exclude-severity",
"-tl": "-template-list",
}
CommonAliases defines nuclei-style short flag aliases shared across tools.
Functions ¶
func BoolFlagEnabled ¶
func NormalizeFlags ¶ added in v0.2.7
NormalizeFlags converts single-dash flags to double-dash when they match a known flag, and applies alias mappings. Unknown flags pass through.
Types ¶
type Base ¶ added in v0.2.7
type Base struct {
Logger telemetry.Logger
Proxy string
WorkDir string
DataBus *eventbus.Bus[output.ToolDataEvent]
}
func (*Base) EmitDataCtx ¶ added in v0.3.0
func (*Base) InitLogger ¶ added in v0.2.7
func (*Base) SetWorkDir ¶ added in v0.2.7
Click to show internal directories.
Click to hide internal directories.