Skip to content

Releases: devedbox/Commander

v0.4.4

06 Nov 11:45
Compare
Choose a tag to compare

Feats:

  • Added built-in command list to list the subcommands and options of given command.
  • Added built-in command complete to generate and execute the completion scripts for bash and zsh both.

Fixes:

  • Fixed and make the help options with extra available options an std error

v0.3.7

29 Oct 11:36
Compare
Choose a tag to compare

Feats:

  • Adds optional description of command describer to describe the options with default value

v0.3.6

29 Oct 08:50
Compare
Choose a tag to compare

Fixs:

  • Fixs the missing of running commands for subcommands

v0.3.5

28 Oct 13:18
Compare
Choose a tag to compare

Release Notes:

Fixs:

  • Parsing help options error because the priority of .unrecognizedOptions error has been replaced.

Feats:

  • Parsing single arguments in anywhere instead of single one in trailing of options:
    • commander args... --options
    • commander --options... args... --options...
    • commander --options... args...

v0.3.2

13 Oct 14:56
Compare
Choose a tag to compare

Commanderthe command line arguments decoding framework makes it easy to write cli application in Swift.

Release Notes:

  • Fixs:
    1. Wrong commands of custom commander given to HelpCommand.

v0.3.1

13 Oct 12:14
Compare
Choose a tag to compare

Commander the command line arguments decoding framework makes it easy to write cli application in Swift.

Release Notes:

  • Fixs:
    1. Wrong help messages of custom commander gives to HelpCommand

v0.3.0

12 Oct 16:58
Compare
Choose a tag to compare

Commander the command line arguments decoding framework makes it easy to write cli application in Swift.

Release Notes:

  • Fully decoding of cli args with following patterns:
    1. {cmd} --{key} {value} ... -- [args...]
    2. {cmd} --{key}={value} ... [args...]
    3. {cmd} --{bool} ...
    4. {cmd} -{k} {value} ...
    5. {cmd} -{k}={value} ...
    6. {cmd} --{b} ...
    7. {cmd} --{global-k} ...
  • Supports nested command with following patterns:
    1. {cmd} {cmd1} {cmd2} ...
  • Tests' coverage reachs 80% and more.
  • Easy to use and write.
  • Totally customizable with CommanderRepresentable, CommandRepresentable and OptionsRepresentable.