cmd

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2025 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// CfgFile 是用户指定的配置文件的路径
	CfgFile string
)

Functions

func Execute

func Execute(version, commit, date string)

Execute 将所有子命令添加到 root command 并适当设置 flags。 这是由 main.main() 调用的。它只需要在 rootCmd 上发生一次。

Types

This section is empty.

Jump to

Keyboard shortcuts

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