commands

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2016 License: GPL-3.0 Imports: 6 Imported by: 15

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthCommand

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

func NewAuthCommand

func NewAuthCommand(api api.API) *AuthCommand

func (*AuthCommand) Execute

func (c *AuthCommand) Execute() error

type PlayCommand added in v1.0.0

type PlayCommand struct {
	Player asciicast.Player
}

func NewPlayCommand added in v1.0.0

func NewPlayCommand() *PlayCommand

func (*PlayCommand) Execute added in v1.0.0

func (c *PlayCommand) Execute(url string, maxWait uint) error

type RecordCommand

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

func NewRecordCommand

func NewRecordCommand(api api.API, env map[string]string) *RecordCommand

func (*RecordCommand) Execute

func (c *RecordCommand) Execute(command, title string, assumeYes bool, maxWait uint, filename string) error

type UploadCommand added in v1.0.0

type UploadCommand struct {
	API api.API
}

func NewUploadCommand added in v1.0.0

func NewUploadCommand(api api.API) *UploadCommand

func (*UploadCommand) Execute added in v1.0.0

func (c *UploadCommand) Execute(filename string) error

Jump to

Keyboard shortcuts

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