Commit Graph

15 Commits

Author SHA1 Message Date
John Mair 894d9f1873 refactored code in `help` command command_base.rb 2011-04-10 22:10:54 +12:00
John Mair ad0e3b9d9f * got run command working by passing in extra 'target' argument. Got
command string interpolation working, so .cd #{my_dir} now works.
2011-04-08 21:10:49 +12:00
John Mair d111b19f82 fixed `run` command builder, now takes target parameter, also accepts system
commands.

Also:
* changed Rakefile to remove the -k flag from bacon test
* changed pry_instance attr_reader to attr_accessor in CommandProcessor class
* updated tests to reflect new `run` parameters
2011-04-08 16:09:47 +12:00
John Mair 52a84cd598 version 0.6.3, added method_source 0.3.4 dependency (1.8 show-metthod support). Added docs, added Set to inspect classes 2011-02-28 05:06:52 +13:00
John Mair c0e494756c version 0.6.1 release, added optional return value to `exit` and `exit-all` commands, added !@ alias for exit-all, added :keep_retval option to `command` method in CommandBase, improved `pry` command line executable -e option 2011-02-26 04:32:54 +13:00
John Mair 62c63c1619 fixed alias_command docs 2011-01-28 08:55:37 +13:00
John Mair 228b95f516 added new 'alias_command' and 'desc' commands to CommandBase; also made it so show_method comamnd without parameters does a show_method on __method__ 2011-01-26 23:13:46 +13:00
John Mair 0ec11dd430 added wiki/ as nested git repo, removed command_info as attr_accessor from command_base 2011-01-22 14:10:04 +13:00
John Mair 548b4f82d8 added import_from, delete, run to command API. Also added examples, added more tests, and changed the way that commands work using split instead of regex captures. Also added output and trget methods to Pry::CommandBase 2011-01-21 03:41:41 +13:00
John Mair ec66e9bade made it so aliases are now added as separate commands, no longer an array of commands - makes it easier to override aliased commands in subclasses 2011-01-20 14:58:30 +13:00
John Mair b95b5e64b5 Regex working 2011-01-18 16:40:28 +13:00
John Mair f45e8bfbd0 finished updating and improving command API; now command API is as follows: command 'blah' do |x| puts x; end where x is a parameter passed to the command from the pry prompt 2011-01-18 03:38:09 +13:00
John Mair 056751245f FInished documenting all customizable options in README.markdown; just cleanup and clarification and example programs left before 0.4.0 release 2011-01-14 22:12:43 +11:00
John Mair ead507210d starting to write the behemoth that is README.markdown 2011-01-13 15:54:22 +11:00
John Mair ebdcfdf145 saving before refactor to implement action block instead of action proc for commands. All tests passing in 1.8 and 1.9. 2011-01-12 18:08:56 +11:00