This repository was archived by the owner on Apr 16, 2025. It is now read-only.
v1.0.0
Stable release.
⚠️ Breaking changes since v0.4.0
Command.Run's signature no longer returns a bool. This was no longer needed as we can just checkResult.Fail.- Likewise,
Result.RunCommand()also no longer returns a bool.
- Likewise,
- The
Helpaction replacesHelpOKandHelpError, also due toResult.Failbeing sufficient. App.Help(...)now takes anio.Writerrather than returning a string.Result.Error(...)now takes an error interface rather than a string.Result.ErrorString(...)now does whatResult.Error(...)used to.Result.Errorf(...)remains unchanged though.
New features
Bugfixes
- Panic when duplicate command names are configured: #11
Other stuff
- Improve readme & add guide: #9
- Improve godoc comments: #3
- Use golangci-lint: #12
- Separate tests into a separate package: #16
- Install Coveralls and increase test coverage: #24
Full Changelog: v0.4.0...v1.0.0