Versions in this module Expand all Collapse all v1 v1.0.5 Apr 7, 2026 v1.0.4 Apr 3, 2026 Changes in this version + const EnvBinaryPath + func BuildArgs(req Request) ([]string, error) + func ResolveBinaryPath(req Request) (string, error) + type Request struct + Args []string + BinaryPath string + Data any + DefaultAs string + Format string + Params any + type Result struct + Args []string + BinaryPath string + ExitCode int + RunErr error + Stderr string + Stdout string + func RunCmd(ctx context.Context, req Request) (*Result, error) + func (r *Result) AssertExitCode(t *testing.T, code int) + func (r *Result) AssertStdoutStatus(t *testing.T, expected any) + func (r *Result) StderrJSON(t *testing.T) any + func (r *Result) StdoutJSON(t *testing.T) any