moosh
moosh copied to clipboard
category-delete not showing/working
-
moosh version: 0.25 Tested with fresh checkout from git And with freshly unzipped 'wget https://github.com/tmuras/moosh/archive/master.zip' $ git status On branch master Your branch is up-to-date with 'origin/master'.
-
moodle version: 3.1.8
- database: Oracle 12.x
-
php version: 5.6.25
-
operating system: RedHat6
Actual behaviour
$ moosh category-delete 13113
- moosh shows help output, no category-delete command shows
- Moosh/Commands/Moodle30/Category/CategoryDelete.php is present
- Other commands run fine
- Have restarted PHP-FPM and Apache
Expected behaviour
- should start deleting stuff
Steps to reproduce
as above
it seems the documentation is preceeding the coding ... i.e. no code written yet for category-delete as far as i can tell
Hmm..I wrote this and did a pull request #201, which was merged into master. Not sure what happened after that.
Code exists in Moosh/Command/Moodle30/Category/CategoryDelete.php - not sure why it's not listed as a valid option. Help, @tmuras?
As an aside, if this can be made to work, #154 can be closed.