What's Changed
- fix 'thor_script subcommand [args] --help' 🌈 by @doudou in #500
-
- Fix bug with handling of colors passed to
ask
(and methods likeyes?
andno?
which it underpins)
- Fix bug with handling of colors passed to
- Allow numeric arguments to be negative
- Ensure that default option values are of the specified type (e.g. you can't specify
"foo"
as the default for a numeric option), but make symbols and strings interchangeable - Add
Thor::Shell::Basic#indent
method for intending output - Fix
remove_command
for an inherited command (see #451) - Allow hash arguments to only have each key provided once (see #455)
- Allow commands to disable class options, for instance for "help" commands (see #363)
- Do not generate a negative option (
--no-no-foo
) for already negative boolean options (--no-foo
) - Improve compatibility of
Thor::CoreExt::HashWithIndifferentAccess
with Ruby standard libraryHash
- Allow specifying a custom binding for template evaluation (e.g.
#key?
and#fetch
) - Fix support for subcommand-specific "help"s
- Use a string buffer when handling ERB for Ruby 2.3 compatibility
- Update dependencies
New Contributors
Full Changelog: v0.19.1...v0.19.2