Releases: juju/cmd
Releases · juju/cmd
v3.0.0
What's Changed
- Trim cmd.Info.{Purpose|Doc} whitespace consistently by @reedobrien in #33
- Capitalize help for flags 'format' and 'output' by @cherylj in #34
- log error details at debug level by @rogpeppe in #35
- Do not inline the SetLogLevel() call. by @ericsnowcurrently in #36
- add HelpNotify to SuperCommand parameters by @rogpeppe in #37
- Change formatting of alias help summaries. by @mjs in #38
- Update to use the latest loggo. by @howbazaar in #39
- Update gnuflag dependency by @nskaggs in #40
- gofmt code by @nskaggs in #41
- Use a colored writer for logging. by @howbazaar in #43
- Pass the writer into the formatter. by @howbazaar in #42
- Don't add newlines for empty smart output. by @howbazaar in #44
- Fix smart output of empty slice. by @howbazaar in #45
- simplify FormatSmart to correspond with docs by @rogpeppe in #3
- cmd: add Output.WriteFormatter method by @axw in #46
- Adapt to color handling changes in loggo by @mjs in #49
- Tweak help summary style to match Juju by @mjs in #48
- Use error logger to log command initialization and command run ... by @ExternalReality in #47
- Allow for context to log warnings. by @ExternalReality in #50
- Write to Stderr directly for error output. by @howbazaar in #51
- Expand '~/' in AbsPath by @wupeka in #52
- Fixes lp#1729875: Update reference to logging-config. by @anastasiamac in #53
- Allow a supercommand to implement extra global flags by @rogpeppe in #54
- expose Quiet method on Context by @rogpeppe in #55
- Allow to customise what command flags are known as. by @anastasiamac in #56
- juju/cmd depedencies by @anastasiamac in #57
- Missed super command internal flag set and tests. by @anastasiamac in #58
- Show desired super command flags in command help. by @anastasiamac in #60
- Fix function comments based on best practices from Effective Go by @CodeLingoTeam in #61
- Extended version command with version detail. by @hpidcock in #62
- Find closest sub command by @SimonRichardson in #65
- Ensure we sort the results by @SimonRichardson in #66
- Allow the creation of better unrecognized commands by @SimonRichardson in #67
- Improve the sorting algorithm by @SimonRichardson in #68
- force yaml/json output by @nammn in #69
- Machine context by @SimonRichardson in #73
- Extract formatters by @SimonRichardson in #74
- Handle stderr vs stdout by @SimonRichardson in #75
- Log out stderr by @SimonRichardson in #76
- Move to go.mod + omit additional empty structured output during errors. by @hpidcock in #77
- Update to use juju/utils/v3 by @wallyworld in #79
- Update deps and embed a standard Context in cmd.Context by @wallyworld in #80
New Contributors
- @reedobrien made their first contribution in #33
- @mjs made their first contribution in #38
- @nskaggs made their first contribution in #40
- @axw made their first contribution in #46
- @ExternalReality made their first contribution in #47
- @wupeka made their first contribution in #52
- @anastasiamac made their first contribution in #53
- @CodeLingoTeam made their first contribution in #61
- @SimonRichardson made their first contribution in #65
- @nammn made their first contribution in #69
- @wallyworld made their first contribution in #79
Full Changelog: https://github.com/juju/cmd/commits/v3.0.0