tmuras / moosh

Moosh
GNU General Public License v3.0
229 stars 175 forks source link

Can't reset course with Moosh in Moodle 3.11.16 #455

Open juanmmendez opened 10 months ago

juanmmendez commented 10 months ago

Actual behaviour

If execute command: moosh -n course-reset id_course I got this: **moosh version 1.7 No command provided, possible commands: apache-parse-extendedlog apache-parse-missing-files apache-parse-perflog backup-info base-path code-check download-moodle fontawesome-refreshcache framework-import generate-cfg generate-moosh lang-compare lang-stats languages-update nginx-parse-extendedlog perf-analyse plugin-download plugin-install plugin-list plugin-uninstall report-concurrency top Global options: -v, --verbose be verbose

-p, --moodle-path=
    Moodle directory.

-u, --user=
    Moodle user, by default ADMIN

-n, --no-user-check
    Don't check if Moodle data is owned by the user running script

-t, --performance
    Show performance infomation including timings

-h, --help
    Show global help.

--list-commands
    Show all possible commands**

Expected behaviour

I expected that moosh reset course with id provided as I did it in previous Moodle version, for example 3.11.5 version and moosh 1.7 version; I have tested with another moosh versions

Steps to reproduce