commandreporter

package
v2.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PrintCommand

func PrintCommand(withColour bool, startTime time.Time, writer io.Writer, command string)

Types

type CommandReporter

type CommandReporter struct {
	Writer io.Writer
}

func NewCommandReporter

func NewCommandReporter(writers ...io.Writer) *CommandReporter

func (*CommandReporter) Report

func (r *CommandReporter) Report(withColour bool, startTime time.Time, cmd *exec.Cmd)

Jump to

Keyboard shortcuts

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