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: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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