Skip to content

Releases: sttk/cliargs

v0.9.0

15 Oct 19:12
Compare
Choose a tag to compare

⚠️ BREAKING CHANGES

  • fix!: modified struct name of an error by @sttk in #58

Changes

  • fix: modified MakeOptCfgsFor to set Names empty if optcfg has no opt name by @sttk in #62
  • fix: modified to inherit end opt flag after parsing until sub command by @sttk in #64

Docs

  • comment: modified some documentation comments by @sttk in #59
  • doc,comment: modified heading in doc.go by @sttk in #63

Supports

  • test: corrected some test case names by @sttk in #61

Full Changelog: v0.8.0...v0.9.0

v0.8.0

01 Sep 03:55
Compare
Choose a tag to compare

⚠️ BREAKING CHANGES

  • update!: made overall changes to align the API with cliargs-rust by @sttk in #54

Docs

  • doc,comment: added documentation comments by @sttk in #56
  • doc: added README.md by @sttk in #57

Supports

  • test: added example codes by @sttk in #55

Full Changelog: v0.7.0...v0.8.0

v0.7.0

18 Mar 14:49
Compare
Choose a tag to compare

⚠ BREAKING CHANGES

  • fix: renamed .Default in OptCfg to .Defaults by @sttk in #45
  • update!: changed OptCfg fields to separate store key and option name. by @sttk in #51

Changes

  • update: changed collectArgs to no return by @sttk in #50
  • chore,update: upgraded dependencies by @sttk in #47

Docs

  • doc: added example of InvalidOption by @sttk in #44

Supports

  • chore: modified build.sh by @sttk in #48
  • comment: modified some comments by @sttk in #49

Full Changelog: v0.6.0...v0.7.0

v0.6.0

23 Oct 14:40
Compare
Choose a tag to compare

Changes:

  • new: added InvalidOption error interface by @sttk in #43

Docs:

  • doc: corrected a mistake in doc.go by @sttk in #40

Supports:

  • cicd: added go version 1.21 to ci targets, upgrade github actions by @sttk in #41

Full Changelog: v0.5.2...v0.6.0

v0.5.2

22 Oct 10:51
Compare
Choose a tag to compare

Changes:

  • update: modified to parse all args even if there are errors by @sttk in #39

Full Changelog: v0.5.1...v0.5.2

v0.5.1

15 Oct 00:34
Compare
Choose a tag to compare

Changes:

  • update: modified to use linebreak by @sttk in #37

Full Changelog: v0.5.0...v0.5.1

v0.5.0

18 Jun 07:12
Compare
Choose a tag to compare

⚠ BREAKING CHANGES

  • chore!: changed package path and repository name by @sttk in #36

Docs

  • doc: modified README.md and doc.go by @sttk in #35

Full Changelog: v0.4.0...v0.5.0

v0.4.0

13 May 01:06
18b8084
Compare
Choose a tag to compare

⚠ BREAKING CHANGES:

  • update!: changed APIs by @sttk in #28
  • update: changed APIs to print help by @sttk in #29

Changes:

  • fix: made error.Error() output error fields by @sttk in #27
  • new: added Help#AddTexts method by @sttk in #32
  • new: added FindFirstArg function by @sttk in #33

Docs:

  • doc: modified README.md by @sttk in #30
  • doc: moved usage from README.md to doc.go by @sttk in #34

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

v0.3.0

01 Apr 13:29
Compare
Choose a tag to compare

⚠ BREAKING CHANGES:

  • update!: changed the return values composition of ParseFor by @sttk in #22

Changes:

  • fix: removed line break per option by @sttk in #19
  • feat: added AtParam field to OptCfg to display a parameter. by @sttk in #20
  • fix: modified the way to calc. widths of option titles in PrintHelp. by @sttk in #21
  • new: added a struct tag optparam for .AtParam of OptCfg with ParseFor by @sttk in #23
  • fix: modified calc. option title widths and made * option ignore in help. by @sttk in #24

Docs:

  • doc: added usage examples to README.md by @sttk in #25

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

v0.2.0

28 Mar 13:09
Compare
Choose a tag to compare

Changes:

  • update: drop sabi from dependencies by @sttk in #18

Full Changelog: v0.1.1...v0.2.0