Remove extended_commands, default_commands -> commands
This commit is contained in:
parent
25cbe43137
commit
8ce49ee081
|
@ -1,10 +1,6 @@
|
|||
# Default commands used by Pry.
|
||||
Pry::Commands = Pry::CommandSet.new
|
||||
|
||||
Dir[File.expand_path('../default_commands/*.rb', __FILE__)].each do |file|
|
||||
require file
|
||||
end
|
||||
|
||||
Dir[File.expand_path('../extended_commands/*.rb', __FILE__)].each do |file|
|
||||
Dir[File.expand_path('../commands/*.rb', __FILE__)].each do |file|
|
||||
require file
|
||||
end
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
class Pry
|
||||
Pry::Commands.create_command "help" do |cmd|
|
||||
group 'Help'
|
||||
description "Show a list of commands. Type `help <foo>` for information about <foo>."
|
||||
|
||||
banner <<-BANNER
|
|
@ -1,7 +0,0 @@
|
|||
class Pry
|
||||
module ExtendedCommands
|
||||
|
||||
Experimental = Pry::CommandSet.new do
|
||||
end
|
||||
end
|
||||
end
|
Loading…
Reference in New Issue