cmdrunner

package
v0.10.2 Latest Latest
Warning

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

Go to latest
Published: May 16, 2019 License: MPL-2.0 Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Settings

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

func NewSettingsFromYAML

func NewSettingsFromYAML(name string, moduleConfig *config.Config, globalConfig *config.Config) *Settings

type Widget

type Widget struct {
	wtf.TextWidget
	// contains filtered or unexported fields
}

func NewWidget

func NewWidget(app *tview.Application, settings *Settings) *Widget

NewWidget creates a new instance of the widget

func (*Widget) Refresh

func (widget *Widget) Refresh()

Refresh executes the command and updates the view with the results

func (*Widget) String

func (widget *Widget) String() string

String returns the string representation of the widget

Jump to

Keyboard shortcuts

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