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.
|
||||
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 a new issue