Skip to content

Releases: jwaldrip/odin

Version 1.4.0

13 Oct 22:54
Compare
Choose a tag to compare

_New Features:_

  • Added InheritFlag(name string) and InheritFlags(names ...string) to allow for flags to be inherited from a sub commands parent.
  • Added SubCommandsInheritFlag(name string) and SubCommandsInheritFlags(names ...string) to allow for a commands children to inherit flags.

Version 1.3.1

13 Oct 22:58
Compare
Choose a tag to compare
  • Fixes #5 ... an issue with an invalid subcommand is specified.

Version 1.3.0

09 Oct 18:43
Compare
Choose a tag to compare

Massive Refactoring, without breaking changes.

New Features:

  • SubCommands now can be created with cli.NewSubCommand
  • New method AddSubCommand on CLI struct allows for a predefined sub command to be added to the CLI.
  • New method AddSubCommands on CLI struct allows for multiple predefined sub commands to be added to the CLI.

Version 1.2.0

30 Sep 16:10
Compare
Choose a tag to compare

Version 1.1.0

30 Sep 02:53
Compare
Choose a tag to compare
  • NewCLI() is now New(), the old function is aliased to allow for backward compatibility.

Version 1.0.1

28 Sep 20:15
Compare
Choose a tag to compare
  • Bugfixes

Version 1.0.0

27 Sep 22:32
Compare
Choose a tag to compare
  • Initial Release

Version 0.9.0

26 Sep 15:38
Compare
Choose a tag to compare
Version 0.9.0 Pre-release
Pre-release
v0.9.0

Finish todos