-
New Feature
-
Resolution: Incomplete
-
Minor
-
None
-
2.8.1
-
MOODLE_28_STABLE
It would be great to have CLI runner which has access to web-service functions on the command line.
Use case: Right now i'm trying to delete 2000 courses (MDLSITE-3663) - there is a webservice function which allows this but due to various webserver/proxy based timeouts I can't do it through the actual http interface.
I will probably write a quick script to do it on the commandline - but it would be better if I could utilise the existing webservice to achieve this.
I'm sure there are many other cases where people want to make things scriptable and they might not actually want to expose the webservice on http.
- has a non-specific relationship to
-
MDL-57973 POLICY: New Web services or new CLI scripts?
- Closed
-
MDL-27779 Create cli script for web service unit tests
- Closed
- will help resolve
-
MDLSITE-3663 Delete all previous sandbox courses
- Resolved