Skip to content
This repository was archived by the owner on Apr 16, 2025. It is now read-only.

v1.0.0

Choose a tag to compare

@snoopdouglas snoopdouglas released this 14 Aug 11:09
· 8 commits to main since this release
99721a1

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 check Result.Fail.
    • Likewise, Result.RunCommand() also no longer returns a bool.
  • The Help action replaces HelpOK and HelpError, also due to Result.Fail being sufficient.
  • App.Help(...) now takes an io.Writer rather than returning a string.
  • Result.Error(...) now takes an error interface rather than a string.
    • Result.ErrorString(...) now does what Result.Error(...) used to.
    • Result.Errorf(...) remains unchanged though.

New features

  • Shell completions for bash & fish: #8, #19, #20
  • Errors are now typed: #1

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