'Enter the context of a plugin'

def do_enter(self, input):

    (argc, argv) = util.parseinput(input, 1)
    if (argc == 0):
        self.io.print_module_types({'modules': self.get_active_plugin_names()})
    else:
        manager = self.get_manager(argv[0])
        if (manager is None):
            raise exception.CmdErr, ('No    plugin    type    for    %s' % argv[0])
        if (manager.get_active_name() is 'None'):
            raise exception.CmdErr, ('No    active    plugin    for    %s' % argv[0])
        self.setcontext(manager)
        self.setprompt()
