Releases: commander-cli/cmd
Releases · commander-cli/cmd
v1.6.0
Adds:
cmd.WithUser(syscall.Credential)
- Add the ability to change the user a command is run as on *nix systems (#35)cmd.WithUser(syscall.Token)
- Add the ability to change the user a command is run as on windows systems (#35)
Fixes:
- Ensure we write to
stderr
whenWithStandardStreams
option is used. Thanks to @thomasnemer for the fix (#37)
v1.5.0
v1.4.0
v1.3.0
- Move repository from
github.com/SimonBaeumer/cmd
togithub.com/commander-cli/cmd
v1.2.3
- Removed
cmd.MultiplexedWriter
in favor of the built-inio.MultiWriter
v1.2.2
- Fix overwrite of
stderr
inWithCustomStdout
- Fix overwrite of
stdout
inWithCustomStderr
v1.2.1
- Add
MultiplexedWriter
inNewCommand
constructor forstdout
andstderr
v1.2.0
- Add
cmd.WithCustomStdout
option - Add
cmd.WithCustomStderr
option - Add
Command.Combined()
function which returns the combined output ofstdout
andstderr
- Add
cmd.WithEnvironmentVariables
option - Add
cmd.WithInheritedEnvironment
option - Add
CaptureStandardOut
function