pry/pry — Issue #463: Reorganize the plugins system.
Author: envygeeks
Created: 2012-02-04 13:11:11+00:00
State: open

Along with the earlier ticket involving plugin namespaces the plugin system (I think) needs an entire overhaul and reorganization because in it's current state it's very unorganized. I propose the following:

1. Locate, Activate, Deactivate and all other management methods be moved into manager.rb under Pry::Plugin::Manager.
2. Plugins put themselves under the Pry::Plugin:: namespace. (Pry::Plugin::Bash::Aliases)
3. Plugins have a config namespace created automatically. (Pry.config.bash.aliases)
4. Plugins no longer need to be prefixed with only pry- but can be prefixed with pry_. (pry_bash-aliases)
5. Plugin manager be merged into a plugin itself under pry std plugins dir called manager. (lib/plugins/manager.rb)
6. Create a better way to disable specific plugins rather than making it an all or none situation that is truly a catch-22 no-win.