Brush all the lint off this code I wrote in a haze
This commit is contained in:
@@ -4,18 +4,21 @@ import (
|
||||
"os"
|
||||
)
|
||||
|
||||
// Help is a step in a helm Plan that calls `helm help`.
|
||||
type Help struct {
|
||||
cmd cmd
|
||||
}
|
||||
|
||||
// Run launches the command.
|
||||
func (h *Help) Run() error {
|
||||
return h.cmd.Run()
|
||||
}
|
||||
|
||||
// NewHelp returns a new Help.
|
||||
func NewHelp() *Help {
|
||||
h := Help{}
|
||||
|
||||
h.cmd = Command(HELM_BIN, "help")
|
||||
h.cmd = command(helmBin, "help")
|
||||
h.cmd.Stdout(os.Stdout)
|
||||
h.cmd.Stderr(os.Stderr)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user