Skip to content

Releases: gookit/gcli

v3.0.2

12 Jul 05:03
Compare
Choose a tag to compare

Change Log

Fixed

  • fix: must provide ptr for call FromStruct 1cea878
  • fix: binWithCmd is not full path ee4068c

Update

  • up: move some app field to base command 688bee5
  • up: update the array,map item format logic of the List 212e21b
  • up: use stdutil.Value instead of the goutil.Value 5afdd66

Other

  • build(deps): bump github.com/gookit/color from 1.4.2 to 1.5.0 fff0b5e
  • build(deps): bump github.com/gookit/goutil from 0.3.15 to 0.4.0 3d28758
  • doc: use docsify render doc on pages 7a20954
  • build(deps): bump github.com/gookit/goutil from 0.4.0 to 0.4.1 3e88c2b
  • build(deps): bump github.com/gookit/goutil from 0.4.1 to 0.4.2 263e884
  • build(deps): bump github.com/gookit/goutil from 0.4.2 to 0.4.4 fd7c1f4
  • build(deps): bump github.com/stretchr/testify from 1.7.0 to 1.7.1 0186e6a
  • build(deps): bump github.com/gookit/goutil from 0.4.4 to 0.4.5 2b93198
  • build(deps): bump github.com/gookit/goutil from 0.4.5 to 0.4.6 631f8bb
  • build(deps): bump github.com/gookit/goutil from 0.4.6 to 0.5.0 d916736
  • build(deps): bump github.com/gookit/goutil from 0.5.0 to 0.5.1 bc3c747
  • build(deps): bump github.com/gookit/goutil from 0.5.1 to 0.5.2 4d9a19e
  • chore: update some dep version on go.mod 0d22ebb
  • chore: update some code styles 0a2ba5e
  • build(deps): bump github.com/stretchr/testify from 1.7.1 to 1.7.2 3102c23
  • build(deps): bump github.com/gookit/color from 1.5.0 to 1.5.1 85088c2
  • build(deps): bump github.com/gookit/goutil from 0.5.2 to 0.5.4 ea0f782
  • build(deps): bump github.com/stretchr/testify from 1.7.2 to 1.7.4 c21a659
  • build(deps): bump github.com/gookit/goutil from 0.5.4 to 0.5.5 ab478ca
  • build(deps): bump github.com/stretchr/testify from 1.7.4 to 1.7.5 1d0e7aa
  • build(deps): bump github.com/stretchr/testify from 1.7.5 to 1.8.0 522af00
  • chore: update some methods comments 92e1839
  • chore: update some gh action script, add auto gen changelog config 7afe8aa

v3.0.1

11 Oct 11:52
Compare
Choose a tag to compare

Change Log

Fixed

  • fix: alias not works on command ID 3a60830

Feature

  • feat: support hidden command on render help 0c6e392
  • new: add app.RunCmd for direct run an top command 7160b62
  • feat: support add opt, arg from simple string rule 5e4d6f3

Update

  • update readme and some gh script a76759b

Other

  • add an special flag type var 1ef474c
  • build(deps): bump github.com/gookit/goutil from 0.3.13 to 0.3.14 27382fb
  • build(deps): bump github.com/gookit/goutil from 0.3.14 to 0.3.15 ab5df37

Full Changelog: v3.0.0...v3.0.1

v3.0.0

15 Apr 05:26
Compare
Choose a tag to compare

Change Log

Refactor

  • breaking: rename app and cmd exported field d419e9d

Fixed

  • fix some error for match command 069efab
  • fix some error on cmd sub match 125ec3a
  • fix: multi level commands path name error ddcbc75
  • fix tests error on refact app run 659f4b4
  • fix cmd alias not working 9d61c4a
  • fix error for command standalone run 7f03905
  • fix: some unit tests error c8cae46
  • fix argument test errors b738871
  • fix: fix some tests error 5aaed4b
  • fix: command hooks not working 2f2b598

Feature

  • support multi level sub commands
  • support parse flags from struct tags
  • support flag/argument validate
  • feat: update some logic for standalone mode 76e3292
  • feat: support load flag options from an struct 4eadd85
  • feat: gflag support binding options from struct 806d9ed

Update

  • update some for console logs bc87175
  • update some app logic 1e97df9
  • update some logic for command match 4d165c5
  • update osme logic for cmd a1e1816
  • update some logic for global flag bind 142ec2e
  • update: update some new command run logic 5ba9f4a
  • up: update some logic for sub command dispatch b18999e
  • up: fix some error on run v3 examples 3be9ac4
  • update some for verbose option f3d44dd
  • update some for command help render f760960
  • up: remove some files 74ed9ed
  • update some tests case 71ab90a
  • update some for tests 1b7570a
  • up: mv file_watcher example to kite project a7e9058
  • update some logic for init cmd.Flags 213ec1c
  • update min go version limit to go 1.13 4f2bb13
  • update some for cmd run a6225ff
  • update some for render cmd help b4ab755
  • update some for render cmd desc fdeee9b
  • update some for readme and examples 894f88b
  • up: support run an command by alias and cmdID. add more tests adfe61b
  • update some example commands dd64925
  • update some command find logic for gcli.app a67a39f
  • up: modify some command found logic d5b04df
  • update an event name 3dedff9
  • update some iamges, update readme cda2a91

Other

  • Bump github.com/gookit/color from 1.3.0 to 1.3.1 3094555
  • add an enum string flag var 3bf54b5
  • add new method for flags 4e6695f
  • Bump github.com/gookit/color from 1.3.1 to 1.3.2 0cf26d0
  • Bump github.com/gookit/color from 1.3.2 to 1.3.3 dcd4b91
  • Bump github.com/gookit/goutil from 0.3.5 to 0.3.6 2b2b24b
  • Bump github.com/gookit/color from 1.3.3 to 1.3.5 fdd7c70
  • Bump github.com/gookit/color from 1.3.5 to 1.3.6 8b4d276
  • refacting: support multi sub-commands 56419df
  • Bump github.com/gookit/goutil from 0.3.7 to 0.3.8 0270e7c
  • Bump github.com/gookit/color from 1.3.6 to 1.3.7 6d3902c
  • updste some cmd logic a46b13c
  • refact: update version v2 to v3 fb22f6c
  • upsome for cmd match 4ee716c
  • refact app run logic fb45cee
  • modify some app run logic f2d607a
  • add more tests for app run 4eeaec5

v2.3.4

16 Sep 13:40
Compare
Choose a tag to compare
  • update: flag support validator func
  • fix some tests error
  • add more unit tests
  • update dep packages
  • update readme

v2.3.2

01 Aug 07:49
Compare
Choose a tag to compare
  • Release v2.3.2
  • Add more unit tests, fix some error

v2.3.0

30 Jul 13:45
Compare
Choose a tag to compare
  • refactor flag and argument binding logic
  • update some core logic

v2.2.1

26 Apr 07:56
Compare
Choose a tag to compare
  • update some

v2.2.0

26 Apr 06:35
Compare
Choose a tag to compare
  • dont support go < 1.11 version
  • add test for windows OS by github actions
  • fix compile error on windows
  • update readme

v2.1.1

13 Apr 12:31
Compare
Choose a tag to compare
  • fix some bugs
  • update readme

v2.1.0

10 Sep 02:04
Compare
Choose a tag to compare
  • refacting app and cmd init logic
  • refacting app and cmd running logic
  • add more unit tests