cmd

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 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:   "link",
		Short: "Link is a CLI to Hertek Connect Link",
		Long:  `Link 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
)

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