package
0.0.0-20240422232310-6f3d57286155
Repository: https://github.com/leep-frog/command.git
Documentation: pkg.go.dev

# Functions

Cmp compares the two provided fields.
CmpError compares the provided errors.
CmpPanic runs the provided function, `f`, and verifies the proper panic value is recoverd.
FilepathAbs returns the absolute, joined filepath for the provided strings.
NewOutput returns a new `Output` object.
StubEnv stubs the environment variable used throughout this package.
StubGetwd uses the provided string and error when calling command.GetwdProcessor.
StubValue stubs the originalValue with newValue for the duration of the test run.
TempFile creates a temporary file and fails the test if not successful.
Write writes the provided contents (joined by newline characters) to iow.

# Structs

CompleteTestCase is a test case object for testing command autocompletion.
ExecuteTestCase is a test case object for testing command execution.
FakeOS is a fake `command.OS` interface implementer that can be used for testing purposes.
FakeRun is a fake shell command run.
Output is a fake `Output` object that can be used for testing.
No description provided by the author

# Interfaces

Changeable is an interface for commands that can be changed.