cmd

package
v0.0.0-...-cbf56c5 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2018 License: MIT Imports: 10 Imported by: 0

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 GetClient

func GetClient() *goname.GoName

GetClient sets up and returns the Name.com API client.

func ValidateGlobalConfig

func ValidateGlobalConfig() error

ValidateGlobalConfig ensures required flags are set.

Types

This section is empty.

Jump to

Keyboard shortcuts

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