- None.
- None.
- None.
- None.
- None.
- Correctly handle
--help
flags when usingargv.remainder!
after initialization
Eric Amorde, tripleCC #87
- None.
- Avoid a method redefinition warning when requiring
claide
.
Samuel Giddins
- Adds a fix for older versions of Rubygems when CLAide crashes.
Samuel Giddins #73
- None.
- None.
- None.
- Fix circular require of
claide/ansi
inclaide/ansi/string_escaper
.
bootstraponline #66
- Added
Command.option
to easily add a single option to a command class.
Samuel Giddins #64
- None.
- Attempt to get the terminal width without shelling out to
tput
.
Samuel Giddins
- The plugin manager will now properly activate plugin gems, ensuring all of
their files are requirable.
Samuel Giddins
- Fix a regression when contradictory flags were given in
ARGV
-- the last flag given will once again be the value returned, and all entries for that key are removed.
Samuel Giddins
-
Properly parse everything in
ARGV
after--
as an argument.
Samuel Giddins #48 -
Allow parsing an option that occurs multiple times.
Samuel Giddins
- Add
ARGV#remainder!
, which returns all the remaining arguments, deleting them from the receiver.
Samuel Giddins
- Silence errors while loading plugins.
Clément Beffa #44
-
Removes the
ShellCompletionHelper
along with completion script for ZSH. This is out of the scope of CLAide.
Eloy Durán #43 -
Various refactoring replacing “Helper” API’s which specialised classes such as ArgumentSuggester, TextWrapper and PluginManager.
Eloy Durán
-
Added convenience method to invoke commands more easily. Olivier Halligon #33
-
Changes to the PluginManager to handle multiple plugin prefixes, which by default adds the
clad
plugin prefix.
Eloy Durán
- Plugins are now expected to include the
cocoapods-plugin.rb
file in./lib
.
Fabio Pelosin #28
-
Improved messages for exceptions generated by plugins.
Fabio Pelosin #28 -
Use the Argument class to describe arguments.
Olivier Halligon #33 -
Support for argument alternatives and repeatable arguments (ellipsis).
Olivier Halligon #33 -
No stack trace if --help and --vebose are combined.
Marius Rackwitz #36
-
Respect the ANSI flag for the help banner.
Fabio Pelosin #34 -
Underline the colon of the titles of the help banner.
Fabio Pelosin
-
Use an array to describe arguments.
[Fabio Pelosin][fabiopelosin] #26 -
Improved layout and contents of help banner
Fabio Pelosin #25 -
Colorize option, arguments, and example commands in the help banner.
Fabio Pelosin #12 -
Add support for ANSI escape sequences.
Fabio Pelosin #17 #20 #24 -
Add support for completion script
Fabio Pelosin #19 -
Add support for version logic via the introduction of the
version
class attribute to theCLAide::Commmand
class. If a value for the attribute is specified the--version
flag is added. The--version --verbose
flags include the version of the plugins in the output.
Fabio Pelosin #13 #14
-
Add a
ignore_in_command_lookup
option to commands, which makes it possible to have anonymous command classes that are or only meant to provide common functionality, but are otherwise completely ignored during parsing, command lookup, and help banner printing.
Eloy Durán -
Deprecate the
color
option in favor ofansi
. This is more abstract and can be used for commands that only prettify output by using, for instance, the bold ANSI code. This applies to theCLAide
APIs as well.
Eloy Durán -
Add more hooks that allow the user to customize how to prettify output.
Eloy Durán -
Word wrap option descriptions to terminal width.
Eloy Durán #6