Many of the Moosh commands I've tried seem to work in Windows however the one related to generating a new plugin don't. For example,
moosh generate-block hello
...produces the following error that \moodle\blocks\hello isn't a directory:
cp: copying multiple files, but last argument ('c:\moodle/blocks/hello') is not a directory
Try `cp --help' for more information.
Copying from module template failed
If I try to create the directory first, it then complains that the directory already exists.
Already exists: 'c:\moodle/blocks/hello'
Not creating new block hello
The same thing happens with the generate-module command. I would assume that it is likely a problem across the board for all of the generate-xxxx commands and anywhere in Moosh where it is assumed that a directory will be automatically created if it doesn't already exist.
I had better results running Moosh under Cygwin.
Many of the Moosh commands I've tried seem to work in Windows however the one related to generating a new plugin don't. For example,
...produces the following error that \moodle\blocks\hello isn't a directory:
If I try to create the directory first, it then complains that the directory already exists.
The same thing happens with the generate-module command. I would assume that it is likely a problem across the board for all of the generate-xxxx commands and anywhere in Moosh where it is assumed that a directory will be automatically created if it doesn't already exist.
I had better results running Moosh under Cygwin.