Actually, I'm not sure we should do this. I mean part of the beauty of the cli installer is that we can use it to fully automate the installation/upgrade of Mahara (e.g. hopefully in the Debian package soon!).
Prompting for input would break this very desirable (in my opinion) feature of your existing solution. -- You received this bug notification because you are a member of Mahara Contributors, which is subscribed to Mahara. https://bugs.launchpad.net/bugs/851638 Title: CLI framework should accept input Status in Mahara ePortfolio: Triaged Bug description: The CLI framework should allow for developers to ask users for input. For example: $sure = $cli->get_input(get_string('areyousure')); switch ($sure) { case('yes'): case('y'): // Do something default: // Don't do it } I believe that Moodle does this (it's used in the upgrade CLI script) To manage notifications about this bug go to: https://bugs.launchpad.net/mahara/+bug/851638/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~mahara-contributors Post to : [email protected] Unsubscribe : https://launchpad.net/~mahara-contributors More help : https://help.launchpad.net/ListHelp

