command

package
v0.0.1-alpha Latest Latest
Warning

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

Go to latest
Published: May 17, 2021 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Apply

type Apply struct {
	Comment      string
	ForceRestart bool
}

func (*Apply) Execute

func (a *Apply) Execute(ctx *Context, output io.Writer) error

type Context

type Context struct {
	Config                    *config.Config
	SelectedProcessConfigList config.ProcessConfigList
	RunningProcessList        *process.List
}

func NewContext

func NewContext(configPath string, specifiers []string, allProcessConfigsIfNoneSpecified bool) (*Context, error)

type List

type List struct {
	Format  string
	Columns []string
}

func (*List) Execute

func (l *List) Execute(ctx *Context, writer io.Writer) error

type Start

type Start struct {
	Comment string
}

func (*Start) Execute

func (s *Start) Execute(ctx *Context, output io.Writer) error

type Stop

type Stop struct {
	Wait bool
	Kill bool
	// contains filtered or unexported fields
}

func (*Stop) Execute

func (s *Stop) Execute(ctx *Context, output io.Writer) error

Jump to

Keyboard shortcuts

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