cmd

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2023 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const AppName = "samtvcli"

AppName is the name of the CLI application

Variables

View Source
var AppVersion = "unknown version"

AppVersion is the CLI application version and should be set at build time

View Source
var RootCmd = &cobra.Command{
	Use:   AppName,
	Short: "A CLI remote for Samsung smart TVs",
	Long: `This utility is a command-line interface to send commands to a
Samung "Smart TV" model H/J (2014/2015).`,
}

RootCmd represents the base command when called without any subcommands

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.

Types

This section is empty.

Jump to

Keyboard shortcuts

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