commands

package
v0.0.0-...-8aa3203 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2016 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ChoiceFlag = cli.IntFlag{
	Name:        "choice, c",
	Usage:       "Choice of Roku device from list",
	Destination: &FS.Choice,
}
View Source
var DefaultFlag = cli.BoolFlag{
	Name:        "default, d",
	Usage:       "Set this as the default Roku device to use",
	Destination: &FS.Current,
}
View Source
var DestinationFlag = cli.StringFlag{
	Name:        "destination, dst, d",
	Usage:       "Destination folder path of your Roku channel, defaults to ./build",
	Destination: &FS.Destination,
}
View Source
var IPFlag = cli.StringFlag{
	Name:        "ip, i",
	Usage:       "IP address of your Roku device on your local network",
	Destination: &FS.IP,
}
View Source
var NameFlag = cli.StringFlag{
	Name:        "name, n",
	Usage:       "Name of your Roku device for reference",
	Destination: &FS.Name,
}
View Source
var PasswordFlag = cli.StringFlag{
	Name:        "password, p",
	Usage:       "Psername used to login to with Basic Auth",
	Destination: &FS.Password,
}
View Source
var SourceFlag = cli.StringFlag{
	Name:        "source, src, s",
	Usage:       "Source folder path of your Roku channel, defaults to ./",
	Destination: &FS.Source,
}
View Source
var UsernameFlag = cli.StringFlag{
	Name:        "username, u",
	Usage:       "Username used to login to with Basic Auth",
	Destination: &FS.Username,
}
View Source
var ZipFlag = cli.StringFlag{
	Name:        "zip, z",
	Usage:       "ZIP file name of your Roku channel, defaults to channel.zip",
	Destination: &FS.Zip,
}

Functions

func Build

func Build(c *cli.Context) error

func CreateDevice

func CreateDevice(c *cli.Context) error

func DeleteDevice

func DeleteDevice(c *cli.Context) error

func EnsurePaths

func EnsurePaths(c *cli.Context) error

func FindDevices

func FindDevices(c *cli.Context) error

func Install

func Install(c *cli.Context) error

func ListDevices

func ListDevices(c *cli.Context) error

func SwitchDevice

func SwitchDevice(c *cli.Context) error

func UpdateDevice

func UpdateDevice(c *cli.Context) error

Types

type FlagSet

type FlagSet struct {
	Choice      int
	Name        string
	Username    string
	Password    string
	IP          string
	Current     bool
	Source      string
	Destination string
	Zip         string
}
var FS FlagSet

Jump to

Keyboard shortcuts

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