Releases: steverusso/goclap
Releases · steverusso/goclap
v0.4.2
This release:
- suppresses a warning from staticcheck on the deprecation of
ast.Package
- adds the ability to set default option and argument values via the
clap:default
comment.
Full Changelog: v0.4.1...v0.4.2
v0.4.1
Full Changelog: v0.4.0...v0.4.1
v0.4.0
What's Changed
- refactor: inline the clap parsing code and value types in #100
Full Changelog: v0.3.1...v0.4.0
v0.3.1
What's Changed
This release includes a bug fix for parsing positional arguments and some work on the examples.
Full Changelog: v0.3.0...v0.3.1
v0.3.0
What's Changed
This release introduces a package named clap
which contains a general parser. The generator now generates code to use this parser.
- feat: leave initial letter case in blurbs as is #82
- only parse and allow for a single name per option #84
- refactor: use go flag parsing #85
- refactor: remove attempt to drop first os arg #86
- docs: catch readme up with last few changes #87
- ... plus a few other small changes.
Full Changelog: v0.2.0-beta...v0.3.0
v0.2.0-beta
What's Changed
- feat: implement command name aliasing #59
- feat: add numerical type support for options and arguments #60
- refactor: wrap blurbs for options, arguments and commands #66
- refactor: generate clearer parsing code #75
- ... plus many other smaller changes.
Full Changelog: v0.1.0-beta...v0.2.0-beta
v0.1.0-beta
What's Changed
- gen: use
.gen.go
extension for generated files instead of plain.go
#36 - gen: support environment variable configurations #37
- parse,gen: allow for target pkgs other than main #42
- gen: make generated code warning not a doc comment #51
- ...and many other (smaller) refinements!
New Contributors
Full Changelog: v0.0.9-beta...v0.1.0-beta
v0.0.9-beta
What's Changed
- parsing: sanitize backticks within usage messages #28
- gen: reduce option parsing boilerplate #30
- cli: regen goclap's clap code with prev commit 6390e4f #31
- many small tweaks and refactors.
Full Changelog: v0.0.8-alpha...v0.0.9-beta
v0.0.8-alpha
What's Changed
- refactor: warn automatically appends newline by @steverusso in #14
- parse,gen: read command overview with some quick and dirty word wrapping by @steverusso in #16
- remove trailing punctuation from blurbs and make first word lowercase by @steverusso in #17
- maintain config order as they appear in the parsed comments by @steverusso in #19
- gen: put option arg name in first column instead of its own by @steverusso in #20
- refactor: build option usage more efficiently, add a space before arg by @steverusso in #21
- codegen: don't include version in output by default by @steverusso in #22
- a couple small cleanups by @steverusso in #23
- regen goclap's clap code with previous commit (fb8ccb5) by @steverusso in #24
Full Changelog: v0.0.7-alpha...v0.0.8-alpha
v0.0.7-alpha
What's Changed
- cli: regen clap code using 0.0.6-alpha #13