OLD | NEW |
(Empty) | |
| 1 ## 0.13.2 |
| 2 |
| 3 * Allow option values that look like options. This more closely matches the |
| 4 behavior of [`getopt`][getopt], the *de facto* standard for option parsing. |
| 5 |
| 6 [getopt]: http://man7.org/linux/man-pages/man3/getopt.3.html |
| 7 |
| 8 ## 0.13.1 |
| 9 |
| 10 * Add `ArgParser.addSeparator()`. Separators allow users to group their options |
| 11 in the usage text. |
| 12 |
| 13 ## 0.13.0 |
| 14 |
| 15 * **Breaking change**: An option that allows multiple values will now |
| 16 automatically split apart comma-separated values. This can be controlled with |
| 17 the `splitCommas` option. |
| 18 |
| 19 ## 0.12.2+6 |
| 20 |
| 21 * Remove the dependency on the `collection` package. |
| 22 |
| 23 ## 0.12.2+5 |
| 24 |
| 25 * Add syntax highlighting to the README. |
| 26 |
| 27 ## 0.12.2+4 |
| 28 |
| 29 * Add an example of using command-line arguments to the README. |
| 30 |
| 31 ## 0.12.2+3 |
| 32 |
| 33 * Fixed implementation of ArgResults.options to really use Iterable<String> |
| 34 instead of Iterable<dynamic> cast to Iterable<String>. |
| 35 |
| 36 ## 0.12.2+2 |
| 37 |
| 38 * Updated dependency constraint on `unittest`. |
| 39 |
| 40 * Formatted source code. |
| 41 |
| 42 * Fixed use of deprecated API in example. |
| 43 |
| 44 ## 0.12.2+1 |
| 45 |
| 46 * Fix the built-in `help` command for `CommandRunner`. |
| 47 |
| 48 ## 0.12.2 |
| 49 |
| 50 * Add `CommandRunner` and `Command` classes which make it easy to build a |
| 51 command-based command-line application. |
| 52 |
| 53 * Add an `ArgResults.arguments` field, which contains the original argument list
. |
| 54 |
| 55 ## 0.12.1 |
| 56 |
| 57 * Replace `ArgParser.getUsage()` with `ArgParser.usage`, a getter. |
| 58 `ArgParser.getUsage()` is now deprecated, to be removed in args version 1.0.0. |
| 59 |
| 60 ## 0.12.0+2 |
| 61 |
| 62 * Widen the version constraint on the `collection` package. |
| 63 |
| 64 ## 0.12.0+1 |
| 65 |
| 66 * Remove the documentation link from the pubspec so this is linked to |
| 67 pub.dartlang.org by default. |
| 68 |
| 69 ## 0.12.0 |
| 70 |
| 71 * Removed public constructors for `ArgResults` and `Option`. |
| 72 |
| 73 * `ArgResults.wasParsed()` can be used to determine if an option was actually |
| 74 parsed or the default value is being returned. |
| 75 |
| 76 * Replaced `isFlag` and `allowMultiple` fields in the `Option` class with a |
| 77 three-value `OptionType` enum. |
| 78 |
| 79 * Options may define `valueHelp` which will then be shown in the usage. |
| 80 |
| 81 ## 0.11.0 |
| 82 |
| 83 * Move handling trailing options from `ArgParser.parse()` into `ArgParser` |
| 84 itself. This lets subcommands have different behavior for how they handle |
| 85 trailing options. |
| 86 |
| 87 ## 0.10.0+2 |
| 88 |
| 89 * Usage ignores hidden options when determining column widths. |
OLD | NEW |