Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
StdlibFS embed.FS
)
Functions ¶
func Execute ¶
func Execute()
Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.
func SetVersionInfo ¶ added in v1.0.0
func SetVersionInfo(version, commit, date string)
SetVersionInfo sets the version using build or goreleaser metadata ref: https://www.jvt.me/posts/2023/05/27/go-cobra-version/
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.