package
Version:
v1.4.0
Opens a new window with list of versions in this module.
Published: Nov 17, 2025
License: GPL-3.0
Opens a new window with license information.
Imports: 12
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func Execute(version, commit, date string)
Execute 将所有子命令添加到 root command 并适当设置 flags。
这是由 main.main() 调用的。它只需要在 rootCmd 上发生一次。
Source Files
¶
Click to show internal directories.
Click to hide internal directories.