cmd

package
v2.2.7 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2023 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cmds

type Cmds []domain.Cmd

func (Cmds) Run

func (c Cmds) Run(runDir domain.Path) error

type EmptyCmd

type EmptyCmd struct{}

func (EmptyCmd) Run

func (e EmptyCmd) Run(_ domain.Path) error

type MultiLineCmd

type MultiLineCmd struct {
	Cmds []SingleCmd
}

func (MultiLineCmd) Run

func (m MultiLineCmd) Run(runDir domain.Path) error

type SingleCmd

type SingleCmd string

func (SingleCmd) Run

func (c SingleCmd) Run(runDir domain.Path) error

type StructuredCmd

type StructuredCmd struct {
	Cmd domain.Cmd
	Dir domain.Path
}

func (StructuredCmd) Run

func (s StructuredCmd) Run(_ domain.Path) error

Jump to

Keyboard shortcuts

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