command

package
v0.0.0-...-6a58249 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AppiumdConfigIdent = "appium_config_env"
	RestartAppiumIdent = "appium_restart"
)
View Source
const (
	AppiumdTmuxSession = "Appium"
)

Variables

View Source
var AppiumdDefaultInit = func(root string) string {
	return filepath.Join(root, "libexec", "appiumd.zsh")
}

Functions

func DefaultShellFlags

func DefaultShellFlags() []string

func KillAll

func KillAll(cmd *exec.Cmd) error

func ParseShebang

func ParseShebang(line string) (string, []string, error)

func ParseShebangEnvArgs

func ParseShebangEnvArgs(args ...string) (string, []string, error)

func ParseShebangFrom

func ParseShebangFrom(path string) (string, []string, error)

func ReadShebang

func ReadShebang(r io.Reader) (string, error)

func ReadShebangFrom

func ReadShebangFrom(path string) (string, error)

func Split

func Split(s string, quote []rune, delim []rune) []string

Types

type Model

type Model struct {
	ShellPath    string
	ShellArgs    []string
	ScriptPath   string
	ForceRestart bool
	SkipBuild    bool
}

func (Model) Command

func (m Model) Command() (string, []string)

func (*Model) Init

func (m *Model) Init() error

Jump to

Keyboard shortcuts

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