All Versions
11
Latest Version
Avg Release Cycle
139 days
Latest Release
155 days ago

Changelog History
Page 1

  • v0.9.1

    September 23, 2019

    ✨ Enhancements

    • Usage/help output for commands which contain flags will now contain the short flag, for example, -v, --verbose. #71

    🐛 Bug Fixes

    • 🛠 Fixed ordering of flags in the "Unknown Arguments" help output of a command. Flags have previously been stored in an un orderered set and thus upon printing them back out their order was not persisted and a flag part such as -user can be printed as -usre. #78
  • v0.9.0

    June 12, 2019

    💥 Breaking

    • 👌 Support for Swift < 4.2 has been removed.

    ✨ Enhancements

    • ➕ Added syntax for using array as a type with Argument instead of using VariadicArgument:

      command(Argument<[String]>("names")) { names in }
      
    • ➕ Added support for optional arguments and options, for example:

      command(Argument<String?>("name")) { name in }
      command(Option<String?>("name", default: nil)) { name in }
      
    • ➕ Added support for using -- to signal that subsequent values should be treated as arguments instead of options.
      Tamas Lustyik

    • Output of --help for group commands will now sort the commands in alphabetical order.
      Cameron Mc Gorian

    🐛 Bug Fixes

    • 0️⃣ Showing default values for custom ArgumentConvertible types are now supported in the --help output of commands.

    • 🖨 Only print errors in red if the output terminal supports ANSI colour codes. #58

    • 📜 ArgumentParser.isEmpty will now return empty for empty arguments.

  • v0.8.0

    October 14, 2017

    ✨ Enhancements

    • Consolidate the argument descriptors:
      • All Option-related types now have a validator.
      • All Option-related types now have a flag parameter.
      • All constructors have the same constructor arguments order. #35

    🐛 Bug Fixes

    • 🐧 Restores compatibility with Linux.
  • v0.7.1

    September 28, 2017

    🐛 Bug Fixes

    • 📦 The Swift Package now contains the Commander library product.
  • v0.7.0

    September 28, 2017

    Switches to Swift 4.0.

    🐛 Bug Fixes

    • 👍 Better detection of ANSI support in output tty.
      #43
  • v0.6.1

    December 05, 2016
  • v0.6.0

    November 27, 2016

    ✨ Enhancements

    • 👍 VariadicArgument now supports an optional validator.
    • ➕ Adds support for variadic options, allowing the user to repeat options to
      provide additional values.
      #37
    • 🖨 Argument descriptions are now printed in command help.
      #33
    • 0️⃣ Default option and flag default values will now be shown in help output.
      0️⃣ Only default option types of String and Int are currently supported in help output.
      #34

    🐛 Bug Fixes

    • VaradicArgument has been renamed to VariadicArgument.
  • v0.5.0

    September 18, 2016

    ✨ Enhancements

    • ➕ Adds support for Swift 3.0
  • v0.4.1

    February 16, 2016

    🐛 Bug Fixes

    • 🛠 Fix a potential crash when UsageError is thrown on Linux.
    • --help output now wraps arguments in diamonds <>.
  • v0.4.0

    December 04, 2015
    ✨ Enhancements
    • 🐧 Commander can now run on Linux.