mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #06193
[Bug 851638] Re: CLI framework should accept input
** Changed in: mahara
Status: New => Triaged
--
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
References