cmd

package
v0.0.0-...-2db02f6 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2025 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

func Exists

func Exists(filename string) bool

Types

type A

type A []*accessory.A

type Cmd

type Cmd struct {
	Path string
	Args []string
}

type Config

type Config struct {
	Name     string `default:"hap-switch-command"`
	Pin      string `default:"12344321"`
	Switches []struct {
		Meta    accessory.Info
		Command struct {
			On  Cmd
			Off Cmd
		}
	}
}

Jump to

Keyboard shortcuts

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