I contributed the script in this tracker issue: https://tracker.moodle.org/browse/MDL-64532
General developer forum
Script to run import on CLI?
This discussion has been locked so you can no longer reply to it.
I contributed the script in this tracker issue: https://tracker.moodle.org/browse/MDL-64532