Skip to content

Releases: gruntwork-io/go-commons

v0.3.1

28 Nov 18:02
f56d6e3
Compare
Choose a tag to compare

Modules affected

  • shell

Description

  • RunShellCommand and its siblings now support the concept of sensitive args to suppress logging the command string if the args contain sensitive data.

Related links

v0.3.0

28 Nov 00:24
680dca1
Compare
Choose a tag to compare

#13: The url.FormatUrl method now supports URL fragments (e.g., foo.com#bar). This is an additional required parameter in the method, so this is a backwards incompatible change.

v0.2.1

27 Nov 16:03
a77375d
Compare
Choose a tag to compare

#12: Add new url.FormatUrl method for building URLs that properly handle escaping, encoding, leading/trailing slashes, etc.

v0.2.0

08 Oct 22:28
a972613
Compare
Choose a tag to compare

#11: CLI help printer that can wrap text while preserving indentations in tables.

To use, you can manually override the templates and HelpPrinter functions of the cli, or use entrypoint.NewApp() to construct the cli app which will take care of applying the modifications. You can also modify the line width by changing entrypoint.HelpTextLineWidth (defaults to 80).

v0.1.3

05 Oct 13:44
15a5532
Compare
Choose a tag to compare

#10: Unit testable shell prompt utilities.

v0.1.2

17 Dec 15:45
94044ee
Compare
Choose a tag to compare

#8: Add a password prompt method.

v0.1.1

27 Nov 14:44
17b672d
Compare
Choose a tag to compare

#5: Add new Keys helper for getting the sorted keys from a map.

v0.1.0

26 Jun 14:57
Compare
Choose a tag to compare

logrus changed their GitHub repo to all lowercase and broke all go packages that use their library.

See here and here

v0.0.5

07 Jun 13:04
Compare
Choose a tag to compare

#3: Add a shell command that can both capture stdout/stderr and stream it to logs.

v0.0.4

07 Jun 12:34
Compare
Choose a tag to compare

6d058a6: Fix the logging and returned output for shell commands.