1
0
Fork 0
mirror of https://github.com/pry/pry.git synced 2022-11-09 12:35:05 -05:00
Commit graph

33 commits

Author SHA1 Message Date
Kyrylo Silin
333c2a9281 Revert e84c34b17a 2019-11-07 14:08:00 +08:00
Kyrylo Silin
18c45d26c5 rubocop: enable the Style/FrozenStringLiteralComment cop
This will greatly ease Pry support on Ruby 3.0 (when it's out).
2019-05-08 00:13:17 +03:00
Kyrylo Silin
e84c34b17a Update copyrights
* Added myself (should've done that years ago)
* Made it look like Pry is a team effort
2018-10-28 19:32:04 +08:00
takiy33
cdfd3b0d35 Remove explicit 'rubygems' require 2015-04-19 19:39:38 +09:00
Richo Healey
f3339c8cef cli: parse_opts should not actually spin off a repl 2015-03-11 13:56:53 -07:00
John Mair
6a799a7fcd updated cli.rb for new API and added tests for cli 2011-12-11 04:13:42 +13:00
John Mair
9142aa173f Added Pry::CLI class for processing command line options, with plugin support.
Plugins can define their own command line options by having a lib/plugin_name/cli.rb file. If this file exists
it is loaded immediately before command line options are processed. The contents of the file should be along the lines of:

Pry::CLI.add_options do
  on "my-option", "My first option!" do
    puts "I just defined an option!"
  end
end
2011-12-09 03:14:33 +13:00
John Mair
6a3d026e15 removed :input_stack => [Readline] from bin/pry, this fixes #327 2011-11-02 22:37:33 +13:00
John Mair
db649858af added --no-history option to pry binary 2011-09-28 02:55:20 +13:00
John Mair
d9f3c7852a fixed tiny bug in bin/pry where no -e parameter still resulted in => nil output 2011-09-17 18:23:32 +12:00
John Mair
674e2c3f5d pry -e now works using input_stack; should eliminate quirks and limitations in behavior 2011-09-16 16:28:10 +12:00
John Mair
f89f31ff49 added error handling to cat command 2011-09-15 21:09:46 +12:00
Ryan Fitzgerald
3d91fc4f20 restore previous command-line switch behavior 2011-09-08 22:52:47 -07:00
Ryan Fitzgerald
c8845bffb4 defer loading of requires specified on the command line 2011-07-24 20:13:18 -07:00
John Mair
b3138965d5 added --installed-plugins switch to pry binary to list installed plugins with description 2011-06-17 01:41:40 +12:00
John Mair
570ff75cdd added --no-pager to binary options, and refactored options 2011-06-05 03:59:05 +12:00
John Mair
166e6e8f0b added --no-plugins command line option to executable, removed unnecessary whitespace from introspectin.rb 2011-06-04 01:08:42 +12:00
John Mair
e1d9763c28 Implemented readline history saving (~/.pry_history file by default) along with a bunch of options on Pry.config.history . Migrating more options over to Pry.config object. 2011-05-29 00:01:15 +12:00
Rob Gleeson
bffe9d69af Move "reset" command Pry::DefaultCommands::Basic. 2011-05-19 19:10:16 +01:00
Rob Gleeson
b859d8b6ea Set $0 to "pry". 2011-05-03 14:58:54 +01:00
Mon ouïe
8351b9a20d Fixed bin/pry (Pry::Commands is not a class anymore) 2011-04-29 17:47:33 +02:00
Lee Jarvis
316720974c rely on slop providing help 2011-04-24 15:33:34 +01:00
John Mair
99f6406b84 fixed spelling mistake in executable 2011-04-24 20:47:19 +12:00
John Mair
99841eeb68 fixed 'surpress' typo in pry executable 2011-04-24 16:26:19 +12:00
Lee Jarvis
0c9f04f44d use slop for executable 2011-04-19 13:13:22 +01:00
John Mair
cf57d9a80d added 'reset' command (exec("pry")) to bin/pry executable 2011-04-10 02:23:24 +12:00
John Mair
4b9198d03c version 0.6.8, added whereami command, made .pryrc run at the start of each runtime session, put syntax highlighting on by default 2011-03-06 03:17:54 +13:00
John Mair
d299f3be30 version 0.6.8pre4, changed Pry::Commands.dup to Pry::Commands.clone due to rubinius bug. Made .pryrc run on ordinary pry sessions (not just command line), still need to complete whereami command 2011-03-05 01:37:59 +13:00
John Mair
f1c5fa4a69 version 0.6.7pre3, getting syntax higlighting working and adding new commands to pry commandline, see TODO 2011-03-03 00:18:26 +13:00
John Mair
7ce581e7fd version 0.6.1(pre), added !! as alias for exit-all, added cd/ to return to pry toplevel, improved pry command line so it uses a rep session on -e code 2011-02-25 15:42:17 +13:00
John Mair
c0d12d1693 version 0.6.0, fixed file require ordering issue 2011-02-22 02:03:42 +13:00
John Mair
d65a13ae30 version 0.5.8 added -c (context) options to show-method and show-doc and eval-file commands, fixed up ordering issue for options in pry command line 2011-02-21 13:46:29 +13:00
John Mair
22d31c0b92 version 0.5.7, added Pry executable, pry --help at command line for more info 2011-02-21 05:54:18 +13:00