Releases: starriver/charli
Releases · starriver/charli
v1.0.2
- Hide global options in global help: #30
Full Changelog: v1.0.1...v1.0.2
v1.0.1
- Fix doc comment formatting: #29
Full Changelog: v1.0.0...v1.0.1
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
Help
action replacesHelpOK
andHelpError
, also due toResult.Fail
being sufficient. App.Help(...)
now takes anio.Writer
rather 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
v0.4.0
- 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
- 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
- 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
Initial release.