package
Version:
v2.1.22
Opens a new window with list of versions in this module.
Published: Jan 23, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package cmd contains utilities to execute commands using a test-friendly
interface.
Command execs a command with the given arguments.
type RealImpl struct {
Command string
}
RealImpl is a real implementation of Command which uses exec.Command to
execute the given cmd.
Exec executes the defined command with the given args, returning the results
of stdout, or an error.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.