Releases: gruntwork-io/go-commons
Releases · gruntwork-io/go-commons
v0.3.1
Modules affected
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
#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
#12: Add new url.FormatUrl
method for building URLs that properly handle escaping, encoding, leading/trailing slashes, etc.
v0.2.0
#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
#10: Unit testable shell prompt utilities.
v0.1.2
#8: Add a password prompt method.
v0.1.1
#5: Add new Keys
helper for getting the sorted keys from a map
.
v0.1.0
logrus changed their GitHub repo to all lowercase and broke all go packages that use their library.
See here and here
v0.0.5
#3: Add a shell command that can both capture stdout/stderr and stream it to logs.
v0.0.4
6d058a6: Fix the logging and returned output for shell
commands.