run

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2023 License: BSD-3-Clause Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AndroidDevices

func AndroidDevices(androidHome string) ([]string, error)

func Run

func Run(args []string)

Types

type ADB

type ADB struct {
	// contains filtered or unexported fields
}

func NewADB

func NewADB(androidHome, serial string) (*ADB, error)

func (*ADB) Forward

func (a *ADB) Forward(local, remote string) error

func (*ADB) ForwardRemove

func (a *ADB) ForwardRemove(local string) error

func (*ADB) GetProp

func (a *ADB) GetProp(prop string) (string, error)

func (*ADB) Install

func (a *ADB) Install(fileName string, replace bool) error

func (*ADB) Pull

func (a *ADB) Pull(remote, local string) error

func (*ADB) Push

func (a *ADB) Push(local, remote string) error

func (*ADB) RunAs

func (a *ADB) RunAs(pkg string, args ...string) (string, error)

func (*ADB) SetProp

func (a *ADB) SetProp(prop, value string) error

func (*ADB) Shell

func (a *ADB) Shell(args ...string) (string, error)

func (*ADB) Uninstall

func (a *ADB) Uninstall(pkg string) error

type Args

type Args struct {
	// contains filtered or unexported fields
}

func CreateArgs

func CreateArgs(f *flag.FlagSet) *Args

Jump to

Keyboard shortcuts

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