hacmd

package
v0.1.43 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2022 License: MIT Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute(name string, args ...string)

execute with realtime output

func Read added in v0.1.21

func Read() string

func Run added in v0.0.14

func Run(name string, args ...string) (string, error)

run cmd and return string output

func Shell added in v0.1.27

func Shell(path string, args ...string)

run shell file

Types

type Commander added in v0.0.21

type Commander struct {
	Path string
}

func NewCommander added in v0.0.21

func NewCommander() *Commander

func (*Commander) Execute added in v0.0.21

func (cmd *Commander) Execute(name string, args ...string)

func (*Commander) SetPath added in v0.0.21

func (cmd *Commander) SetPath(path string) *Commander

Jump to

Keyboard shortcuts

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