pity

package module
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: May 28, 2020 License: Apache-2.0 Imports: 13 Imported by: 0

README

pity

no more mistakes in ttyrec

pity

Install

go get -u github.com/taskie/pity/cmd/pity

License

Apache License 2.0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Version = "0.1.4"
)

Functions

This section is empty.

Types

type Executor

type Executor struct {
	Writer           io.Writer
	Reader           io.Reader
	CommandName      string
	CommandArgs      []string
	SleepAfterLaunch time.Duration
	CharWait         time.Duration
	PreLineWait      time.Duration
	LineWait         time.Duration
	// contains filtered or unexported fields
}

func NewExecutor

func NewExecutor(w io.Writer, r io.Reader, name string, args ...string) *Executor

func (*Executor) Execute

func (e *Executor) Execute() error

func (*Executor) ExecuteContext

func (e *Executor) ExecuteContext(ctx context.Context) error

Directories

Path Synopsis
cli
cmd

Jump to

Keyboard shortcuts

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