Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Version string
Version should be set to actual version string in `go build -ldflags "-X github.com/aelindeman/namedns/cmd.Version="`
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 ValidateGlobalConfig ¶
func ValidateGlobalConfig() error
ValidateGlobalConfig ensures required flags are set.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.