John Mair
b62c10c49e
installed pry gem (pry-0.9.8.2) no longer treated as plugin by `help`
...
* next for plugin was too general, changed to use /pry-([\w_]+)-([\d\.]+)/
2012-02-23 18:43:56 +13:00
John Mair
4b53a97afa
improved 'help' output
...
* sections separated by white space
* plugin names are nicely formatted, e.g `Plugin: Exception Explorer v0.1.9`
2012-02-23 18:21:31 +13:00
John Mair
1e49f38a1b
reshuffed command sets
...
* deleted Shell, Input, Documentation
* added NavigatingPry, InputAndOutput, Editing
2012-02-23 16:29:10 +13:00
Conrad Irwin
0c65a06f72
Group commands in "help" output
2012-02-19 23:08:16 -08:00
Conrad Irwin
4e8a436460
Prioritise commands by match_score [ Fixes #471 ]
2012-02-11 15:15:22 -08:00
Conrad Irwin
2a6f391275
Check for command-name collision on assignment [ Fixes #450 ]
2012-01-28 19:44:45 -08:00
John Mair
312bb7eee4
command_class no longer alias for create_command
...
* removed as an alias
* converted remaining commands over to create_command
* removed references in tests
2012-01-22 12:17:43 +13:00
Conrad Irwin
49994f17ac
Allow process() methods to take args too
2012-01-15 15:52:45 -08:00
Conrad Irwin
e784a1a024
Make pry silent with RUBYOPT=-w
2012-01-15 12:21:28 -08:00
Conrad Irwin
76924d98b3
Don't clobber pre-existing options when adding new ones
2012-01-14 20:54:30 -08:00
Conrad Irwin
5b533fe4f1
Class command API polish
2012-01-08 12:49:24 -08:00
Conrad Irwin
45c6492e7e
Split CommandProcessor responsibility between CommandSet and Command
...
The CommandSet is responsible for storing Commands, while the Commands
themselves are responsible for all the parsing.
(Before this change, the CommandProcessor used to do both the searching
within the CommandSet's and also the tokenization of command arguments)
2012-01-03 01:35:32 +00:00
Conrad Irwin
bb48077241
Remove parse_options! API
...
Having classy commands means it's much easier to implement, so we just
require those instead.
2011-12-31 16:05:14 +00:00
Conrad Irwin
5539f3bebb
Make help use Slop where possible
2011-12-31 15:24:10 +00:00
Conrad Irwin
367b353bca
Make target_self and command_name methods, not attributes
2011-12-31 15:24:10 +00:00
Conrad Irwin
7b0a5a346c
Document Pry::Command
2011-12-31 12:40:01 +00:00
Conrad Irwin
d221a22d02
Merge Pry::CommandContext and Pry::CommandSet::Command into Pry::Command
2011-12-31 11:54:41 +00:00