cli

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

  • Package cmd @Author: zhizhuo @IDE:GoLand @File: banner.go @Date: 2025/2/20 下午3:39*

Package cli 命令行入口。

CLI 通过 runner.NewRunner 构造完整运行时实例,调用 Run 执行批量扫描, 退出时 defer Close 释放规则池 / 缓存 / 监控器等资源。

  • Package cmd @Author: zhizhuo @IDE:GoLand @File: options.go @Date: 2025/2/20 下午3:39*

Index

Constants

This section is empty.

Variables

View Source
 _______  ___  _
/  __\  \/\  \//
| |  _\  / \  / 
| |_///  \ /  \ 
\____/__/\/__/\\`) + "\n\n\t\tVersion: " + defaultVersion +
	"\n\t\tAuthor: " + defaultAuthor +
	"\n\t\tBuild: " + getBuildDate()

Banner 程序启动时显示的横幅

Functions

func NewCmdOptions

func NewCmdOptions() (*types.CmdOptions, error)

NewCmdOptions 创建并解析命令行选项

func Run

func Run(options *types.CmdOptions)

Run 执行批量扫描。

Types

This section is empty.

Jump to

Keyboard shortcuts

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