All Versions
12
Latest Version
Avg Release Cycle
183 days
Latest Release
1388 days ago
Changelog History
Page 1
Changelog History
Page 1
-
v0.9.2 Changes
June 08, 2021๐ Bug Fixes
- Commander will now throw an error when a command which takes no arguments or
options is invoked with
--help
or unknown arguments.
- Commander will now throw an error when a command which takes no arguments or
options is invoked with
-
v0.9.1 Changes
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
- Usage/help output for commands which contain flags will now contain the short
flag, for example,
-
v0.9.0 Changes
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 usingVariadicArgument
: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 LustyikOutput 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 Changes
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.
- Consolidate the argument descriptors:
-
v0.7.1 Changes
September 28, 2017๐ Bug Fixes
- ๐ฆ The Swift Package now contains the Commander library product.
-
v0.7.0 Changes
September 28, 2017 -
v0.6.1
December 05, 2016 -
v0.6.0 Changes
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 toVariadicArgument
.
- ๐
-
v0.5.0 Changes
September 18, 2016โจ Enhancements
- โ Adds support for Swift 3.0
-
v0.4.1 Changes
February 16, 2016๐ Bug Fixes
- ๐ Fix a potential crash when
UsageError
is thrown on Linux. --help
output now wraps arguments in diamonds<>
.
- ๐ Fix a potential crash when