Skip to content

Releases: jxskiss/mcli

v0.9.3

15 Mar 14:56
Compare
Choose a tag to compare

What's Changed

  • Support read argument from environment variables only by @jxskiss in #31
  • Support flag and arg completion for root command by @akemrir in #33

Full Changelog: v0.9.0...v0.9.3

Release v0.9.0

10 Oct 06:49
Compare
Choose a tag to compare
  • New: support pointer flags. #22
  • New: support grouping command into different categories in help. #23
  • New: support flag value and positional arg completion by function. #27 (thanks @akemrir)
  • Fix: typo in README.md. #28 (thanks @maartenverheul)
  • Change: use capitalized words instead of all uppercase in usage title. #25

Release v0.8.1

02 Aug 01:56
3117df6
Compare
Choose a tag to compare

Changes in v0.8.1:

  • New: optional command options to customize help. #14
  • New: shell completion for fish. #15 (thanks @akemrir)
  • Fix completion of implicit command group. #16 (thanks @akemrir)

Changes in v0.8.0:

  • New: support shell auto-completion. #11
  • New: support single quote name in flag usage. #13
  • Fix unnecessary space in usage output

Release v0.8.0

01 Aug 15:06
Compare
Choose a tag to compare
  • New: support shell auto-completion. #11
  • New: support single quote name in flag usage. #13
  • Fix unnecessary space in usage output

Release v0.7.0

19 Feb 02:59
Compare
Choose a tag to compare
  • New: support optional app description. #7
  • New: support root command. #7
  • Change: make app options be public accessible.
  • Add more tests, increase coverage to 85%.

v0.6.3 - bugfix and more tests

17 Sep 14:48
Compare
Choose a tag to compare
  • fix issues reported by goreportcard (#5, #6)
  • fix some bugs and add more unit tests

v0.6.0 - bugfix

13 Sep 14:25
212ac16
Compare
Choose a tag to compare
move changelog out of readme and release v0.6.0 (#4)

Change-Id: Ifb34f942065f4799a75ca63ec5691bd53b1fd857

v0.5.0 - new features

24 Jun 16:53
Compare
Choose a tag to compare
  • New: validate non-flag arguments for invalid usage.
  • New: support value implementing encoding.TextUnmarshaler, allowing command-line flags and arguments to have types such as big.Int, netip.Addr, and time.Time.
  • New: add type Context to allow using func(*Context) as command action, making it easier to use manually created App.
  • Change: drop support for Go < 1.17.

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

v0.4.0 - New features

18 Jun 03:14
Compare
Choose a tag to compare
  • New: add option to allow parsing posix-style single token multiple options.
  • New: support alias commands.
  • Change: remove api KeepCommandOrder, replaced by SetOptions.
  • Change: optimize help padding.

v0.3.1 - fix parsing showHidden flag

16 Jun 16:19
Compare
Choose a tag to compare
release v0.3.1

Change-Id: Ib3533e5a25dc6da56af7c1a0e8d81060f6194b59