Please sign in to comment.
Changes in semantics:
* unknown options are no longer ignored; instead, they are included in the arguments Array. This does not change the behavior if check_unknown_options! is on (an Exception is still raised). * boolean, string, and number option types can now be interspersed with arguments. For instance, if --foo is a boolean argument, `script task --foo bar` will pass "bar" as an argument to the task. * Thor::Group receives undeclared arguments and unknown options in the `args` accessor * TODO: Significantly more unit test coverage of the option parsing classes.
- Loading branch information...
Showing with 126 additions and 16 deletions.