cliutils

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExecutableInfoCommand

type ExecutableInfoCommand struct {
	ExecutableInfo systemutils.ExecutableInfo
}

func (*ExecutableInfoCommand) AfterApply

func (command *ExecutableInfoCommand) AfterApply() error

AfterApply implements the `kong.AfterApply` interface.

type StartCommand

type StartCommand struct {
	StopCommand
}

func (StartCommand) Run

func (command StartCommand) Run(
	backgroundProcessArguments []string,
	stderrWriter io.Writer,
	stderrEndMark string,
) error

type StatusCommand

type StatusCommand struct {
	ExecutableInfoCommand `kong:"-"`
}

func (StatusCommand) Help

func (command StatusCommand) Help() string

Help implements the `kong.HelpProvider` interface.

func (StatusCommand) Run

func (command StatusCommand) Run() error

type StopCommand

type StopCommand struct {
	ExecutableInfoCommand `kong:"-"`
}

func (StopCommand) Run

func (command StopCommand) Run() error

Jump to

Keyboard shortcuts

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