mirror of
https://github.com/pry/pry.git
synced 2022-11-09 12:35:05 -05:00
Remove extended_commands, default_commands -> commands
This commit is contained in:
parent
25cbe43137
commit
8ce49ee081
45 changed files with 2 additions and 12 deletions
|
@ -1,10 +1,6 @@
|
||||||
# Default commands used by Pry.
|
# Default commands used by Pry.
|
||||||
Pry::Commands = Pry::CommandSet.new
|
Pry::Commands = Pry::CommandSet.new
|
||||||
|
|
||||||
Dir[File.expand_path('../default_commands/*.rb', __FILE__)].each do |file|
|
Dir[File.expand_path('../commands/*.rb', __FILE__)].each do |file|
|
||||||
require file
|
|
||||||
end
|
|
||||||
|
|
||||||
Dir[File.expand_path('../extended_commands/*.rb', __FILE__)].each do |file|
|
|
||||||
require file
|
require file
|
||||||
end
|
end
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
class Pry
|
class Pry
|
||||||
Pry::Commands.create_command "help" do |cmd|
|
Pry::Commands.create_command "help" do |cmd|
|
||||||
|
group 'Help'
|
||||||
description "Show a list of commands. Type `help <foo>` for information about <foo>."
|
description "Show a list of commands. Type `help <foo>` for information about <foo>."
|
||||||
|
|
||||||
banner <<-BANNER
|
banner <<-BANNER
|
|
@ -1,7 +0,0 @@
|
||||||
class Pry
|
|
||||||
module ExtendedCommands
|
|
||||||
|
|
||||||
Experimental = Pry::CommandSet.new do
|
|
||||||
end
|
|
||||||
end
|
|
||||||
end
|
|
Loading…
Add table
Add a link
Reference in a new issue