This plugin is not supported for your Moodle version (release 5.1 - version 2025100600). Specify a different plugin version, or use the -f flag to force installation of (this) unsupported version.
/var/www/html $ moosh -f plugin-install local_recompletion
PHP Fatal error: Uncaught GetOptionKit\Exception\InvalidOptionException: Invalid option: -f in /opt/moosh/vendor/corneltek/getoptionkit/src/ContinuousOptionParser.php:188
Stack trace:
#0 /opt/moosh/moosh.php(52): GetOptionKit\ContinuousOptionParser->parse()
#1 /usr/local/bin/moosh(41): require('...')
#2 {main}
thrown in /opt/moosh/vendor/corneltek/getoptionkit/src/ContinuousOptionParser.php on line 188
/var/www/html $ moosh plugin-install -f --delete local_recompletion
Removing previously installed local_recompletion from /var/www/html/public/local/recompletion
Installing
name: local_recompletion
version: 2025041400
PHP Fatal error: Cannot redeclare cli_problem() (previously declared in /opt/moosh/moosh.php:63) in /var/www/html/public/lib/clilib.php on line 204
Fatal error: Cannot redeclare cli_problem() (previously declared in /opt/moosh/moosh.php:63) in /var/www/html/public/lib/clilib.php on line 204```