cmd

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2020 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (

	// RootCmd is where CLI commands come in
	RootCmd = &cobra.Command{
		Use:   "zelda",
		Short: "Zelda is a CLI to Hertek Connect Link",
		Long:  `Zelda is a CLI to Hertek Connect Link - a valid Integrator account with Hertek Connect is required.`,
		Run: func(cmd *cobra.Command, args []string) {
			if len(args) == 0 {
				cmd.Help()
				os.Exit(0)
			}
		},
	}

	// API is what we use to communicate with the API
	API *core.ConnectLinkAPI
)
View Source
var (
	// AppVersion is the current branch of tag for this build.
	AppVersion string
	// BuildTime is the time of the build.
	BuildTime string
)

Functions

func Execute

func Execute()

Execute the `link` command

Types

This section is empty.

Jump to

Keyboard shortcuts

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