We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[email protected] is now out, update tests to use it.
Previously the command.New accepted functional options, but the exec.Cmd rework of the package has made this more go-stdlib-like.
before:
ctx := context.TODO() cmd := command.New(command.WithDir("somewhere")) output, err := cmd.Run(ctx, "echo", "hello world")
after:
cmd := command.New("echo", "hello world") cmd.Dir = "somewhere" output, err := cmd.CombinedOutput()
The text was updated successfully, but these errors were encountered:
No branches or pull requests
[email protected] is now out, update tests to use it.
Previously the command.New accepted functional options, but the exec.Cmd rework of the package has made this more go-stdlib-like.
before:
after:
The text was updated successfully, but these errors were encountered: