** Changed in: mahara
Status: New => Triaged
--
You received this bug notification because you are a member of Mahara
Core, 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-core
Post to : [email protected]
Unsubscribe : https://launchpad.net/~mahara-core
More help : https://help.launchpad.net/ListHelp