Commit Graph

31 Commits

Author SHA1 Message Date
Rob Gleeson b661517974 Simplify Pry::CommandSet#each. 2011-05-30 19:10:14 +01:00
John Mair 657ae09c6a added CommandSet#list_commands, convenience method for repl exploration of command sets 2011-05-31 00:06:55 +12:00
Rob Gleeson 329983354c CommandSet is Enumerable. 2011-05-30 11:57:11 +01:00
John Mair a065fca701 fixed spelling mistakes in comments 2011-05-30 16:46:44 +12:00
John Mair 458540811a changed formatting for uninstalled command message (added bold) 2011-05-30 15:56:38 +12:00
John Mair a074208e87 installing a command now requires the necessary gems; also improved installation instruction formatting 2011-05-30 03:47:49 +12:00
John Mair 6ddff90001 documented :listing and other command options in command_set.rb, changed rdoc emphasizer and italic marktup to rendered bold (instead of green and blue) 2011-05-29 02:23:56 +12:00
John Mair a9b140be81 removed weird = 0 line from command_set.rb 2011-05-28 04:31:22 +12:00
John Mair 02a366a1f0 Merge remote branch 'origin/dev' into dev 2011-05-28 04:22:46 +12:00
John Mair 40007d4971 removed names array from command() method, instead now command can just have a single name. Also added :listing option to commands, so regex commands can have an easier name to be used in help and show-command etc 2011-05-28 04:15:10 +12:00
Rob Gleeson dfb7bf472d Fix merge conflict. 2011-05-25 16:26:11 +01:00
John Mair 54de8361e2 many changes to plugins, command processor etc, just saving state 2011-05-23 19:11:41 +12:00
Rob Gleeson 7051c12730 Quash (most) warnings emitted by -w.
Two remain:

- two from method_source gem.
2011-05-19 19:07:40 +01:00
Rob Gleeson 7c13a5c101 Use Array#empty?. 2011-05-16 23:20:33 +01:00
Rob Gleeson cda84db434 Replace :arguments_required with :argument_required. 2011-05-11 12:33:56 +01:00
Rob Gleeson ac63605180 Parse :arguments_required as part of the options of a command. 2011-05-11 11:29:19 +01:00
Mon ouïe 1750fe4d78 Got rid of CommandSet#name 2011-05-07 07:32:05 +02:00
Rob Gleeson dcc6ce4dbc Fix typo. "@pasam" should be "@param". 2011-05-06 15:18:23 +01:00
John Mair 66a403aef4 Fixed command arity warnings on ruby 1.8 2011-05-04 14:44:42 +12:00
John Mair af7cb93d15 added test_command_helpers.rb, fixed spelling error in comments in command_set.rb 2011-05-04 03:49:09 +12:00
Mon ouïe 663e98c5e8 Calling #import_from should also import helpers 2011-05-01 08:19:50 +02:00
Mon ouïe 943c5cd152 Added Pry::CommandSet#helpers 2011-04-30 12:28:58 +02:00
Mon ouïe b5592908ef Commands with empty descriptions should not appear in help 2011-04-27 17:24:52 +02:00
Mon ouïe b0f8b72da0 Moved helpers to their own namespaces, got rid of CommandBase 2011-04-25 22:58:06 +02:00
Mon ouïe 1dccc80f2d Made command sets take dependencies in account 2011-04-25 21:31:38 +02:00
Mon ouïe 5a3f5c2eb1 Fixed default help command when asking documentation of a specific command 2011-04-25 20:05:51 +02:00
Mon ouïe ab2a2b8ff8 Fixed default help command 2011-04-25 20:01:11 +02:00
Mon ouïe 7de77868b4 Made command sets respect :keep_retval 2011-04-25 18:09:04 +02:00
Mon ouïe 0ecfe74ee4 Added CommandContext and made commands be run using it.
Cleaning commands and helpers up as well as fixing tests is still to be done.
2011-04-25 13:26:25 +02:00
Mon ouïe 575c089276 Allowed to change description of a command in CommandSet 2011-04-25 08:04:55 +02:00
Mon ouïe 4118d239b4 Started implementing Pry::CommandSet, not removing or modifying existing code yet 2011-04-24 16:25:07 +02:00