executor

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2025 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const (
	KeyHelp  = "KEYHELP"
	KeySpark = "KEYSPARK"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Executor

type Executor interface {
	Print()
	Run() error
}

func New

func New(cmd command.Command) (Executor, error)

type Help

type Help struct {
	Type string
}

func NewHelp

func NewHelp() (*Help, error)

func (*Help) Print

func (exe *Help) Print()

func (*Help) Run

func (exe *Help) Run() error

type Spark

type Spark struct {
	Type string
}

func NewSpark

func NewSpark() (*Spark, error)

func (*Spark) Print

func (exe *Spark) Print()

func (*Spark) Run

func (exe *Spark) Run() error

Jump to

Keyboard shortcuts

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