commands

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ConfigValidateCommand = cli.Command{
	Name:  "config:validate",
	Usage: "Validate configuration",
	Flags: []cli.Flag{
		&cli.StringFlag{
			Name:    "config",
			Usage:   "Path to the configuration file or directory to use.",
			EnvVars: []string{"DEVA_CONFIG"},
			Value:   "deva.json",
		},
	},
	Action: configValidateCommandAction,
}
View Source
var KeylightDiscoveryCommand = cli.Command{
	Name:   "keylight:discovery",
	Usage:  "Discover elgato key light devices.",
	Flags:  []cli.Flag{},
	Action: keylightDiscoveryCommandAction,
}
View Source
var ModeMeetingCommand = cli.Command{
	Name:  "mode:meeting",
	Usage: "Enable meeting mode.",
	Flags: []cli.Flag{
		&cli.StringFlag{
			Name:    "config",
			Usage:   "Path to the configuration file or directory to use.",
			EnvVars: []string{"DEVA_CONFIG"},
			Value:   "deva.json",
		},
		&cli.BoolFlag{
			Name:    "validate",
			Usage:   "Validate configuration and devices",
			EnvVars: []string{"DEVA_VALIDATE"},
			Value:   false,
		},
	},
	Action: modeMeetingCommandAction,
}
View Source
var ModeNormalCommand = cli.Command{
	Name:  "mode:normal",
	Usage: "Enable normal mode.",
	Flags: []cli.Flag{
		&cli.StringFlag{
			Name:    "config",
			Usage:   "Path to the configuration file or directory to use.",
			EnvVars: []string{"DEVA_CONFIG"},
			Value:   "deva.json",
		},
		&cli.BoolFlag{
			Name:    "validate",
			Usage:   "Validate configuration and devices",
			EnvVars: []string{"DEVA_VALIDATE"},
			Value:   false,
		},
	},
	Action: modeNormalCommandAction,
}

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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