Skip to content

Releases: starriver/charli

v1.0.2

17 Aug 20:49
49ed1b5
Compare
Choose a tag to compare
  • Hide global options in global help: #30

Full Changelog: v1.0.1...v1.0.2

v1.0.1

14 Aug 13:54
b9bf339
Compare
Choose a tag to compare
  • Fix doc comment formatting: #29

Full Changelog: v1.0.0...v1.0.1

v1.0.0

14 Aug 11:09
99721a1
Compare
Choose a tag to compare

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

v0.4.0

03 Aug 21:18
44fb3a9
Compare
Choose a tag to compare
  • Add optional immediate error handling: #5
  • Option to use help as a command: #7
  • Fixed a couple of cases of wonky help output in v0.3.0

Full Changelog: v0.3.0...v0.4.0

v0.3.0

02 Aug 12:27
76a8b31
Compare
Choose a tag to compare
  • Implement global options: #4
  • Panic when identically-named options are configured in App.Parse(...)

Full Changelog: v0.2.0...v0.3.0

v0.2.0

01 Aug 17:39
a441667
Compare
Choose a tag to compare
  • Implement single-command operation: #2
  • Changed / separator (eg. in -h/--help) to be darker: 8f050a2
  • Various readme tweaks and cleanup

Full Changelog: v0.1.0...v0.2.0

v0.1.0

31 Jul 10:47
ed69207
Compare
Choose a tag to compare

Initial release.