moodle_init
Log in to any Moodle site and save a webservice token so courses can be downloaded for offline study, without storing your password.
Instructions
Log in to ANY Moodle site and save webservice token (password is not stored). Username format is school-specific — pass exactly what the user uses on the portal. Prefer token if available. Password goes only via env to the child process.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| force | No | ||
| token | No | ||
| out_dir | No | ./courses | |
| password | No | ||
| username | No | ||
| site_name | No | ||
| name_style | No | preserve | |
| course_dir_style | No | fullname_id |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |