commands

package
v2.0.0-...-9eb79f6 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2021 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PlayCommand

type PlayCommand struct {
	Player asciicast.Player
}

func NewPlayCommand

func NewPlayCommand() *PlayCommand

func (*PlayCommand) Execute

func (c *PlayCommand) Execute(cast *asciicast.Asciicast, maxWait float64) error

type RecordCommand

type RecordCommand struct {
	Env      map[string]string
	Recorder asciicast.Recorder
}

func NewRecordCommand

func NewRecordCommand(env map[string]string) *RecordCommand

func (*RecordCommand) Execute

func (c *RecordCommand) Execute(command, title string, assumeYes bool, maxWait float64) (asciicast.Asciicast, error)

Jump to

Keyboard shortcuts

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