This script should be downloaded and customized to your local environment. The script copies code from the course listings plugin (as defined on line 16) to a temp directory, does some cleanup, and then copies it to a default site (line 3) or to the specified site (with the -s
option).
cltowp [-s [site]] [-n]
-s
- Copies the course listings code to the providedsite
-n
- Copies vendor and node_modules directories in addition to source code