Skip to content

Releases: commander-cli/cmd

v1.6.1-rc1

Choose a tag to compare

@dylanhitt dylanhitt released this 14 Feb 03:45
ci: add staticcheck

v1.6.1-alpha1

Choose a tag to compare

@dylanhitt dylanhitt released this 14 Feb 03:45
ci: add staticcheck

v1.6.1-alpha.1

Choose a tag to compare

@dylanhitt dylanhitt released this 14 Feb 03:33
ci: add staticcheck

v1.6.0

Choose a tag to compare

@dylanhitt dylanhitt released this 27 Nov 16:53

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 when WithStandardStreams option is used. Thanks to @thomasnemer for the fix (#37)

v1.5.0

Choose a tag to compare

@dylanhitt dylanhitt released this 24 Sep 03:10

Adds:

  • cmd.WithCustomBaseCommand(*exec.Cmd) - Bring your own base command. Details

v1.4.0

Choose a tag to compare

@dylanhitt dylanhitt released this 04 Jul 15:56

Adds:

  • ExecuteContext - runs Execute but with Context

v1.3.0

Choose a tag to compare

@SimonBaeumer SimonBaeumer released this 08 Jul 09:11
4d67a95
  • Move repository from github.com/SimonBaeumer/cmd to github.com/commander-cli/cmd

v1.2.3

Choose a tag to compare

@SimonBaeumer SimonBaeumer released this 01 Apr 11:51
3c50ae7
  • Removed cmd.MultiplexedWriter in favor of the built-in io.MultiWriter

v1.2.2

Choose a tag to compare

@SimonBaeumer SimonBaeumer released this 24 Oct 10:21
4de84e4
  • Fix overwrite of stderr in WithCustomStdout
  • Fix overwrite of stdout in WithCustomStderr

v1.2.1

Choose a tag to compare

@SimonBaeumer SimonBaeumer released this 24 Oct 09:28
94bfe87
  • Add MultiplexedWriter in NewCommand constructor for stdout and stderr