https://github.com/brendanheywood/moodle-moosh
Moodle meta CLI scripts
https://github.com/brendanheywood/moodle-moosh
Last synced: about 1 month ago
JSON representation
Moodle meta CLI scripts
- Host: GitHub
- URL: https://github.com/brendanheywood/moodle-moosh
- Owner: brendanheywood
- License: mit
- Created: 2013-04-19T03:05:52.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2013-04-22T07:02:06.000Z (about 12 years ago)
- Last Synced: 2025-04-25T17:19:32.201Z (about 1 month ago)
- Language: Perl
- Size: 184 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# What is it? #
moosh
This missing Moodle shell.
# To install #
```
cd ~
git clone [email protected]:brendanheywood/moodle-moosh.git moosh
```Add a couple lines to ~/.bashrc
```
export PATH="$PATH:~/moosh/bin"
eval "$(~/moosh/bin/moosh init -)"
```# Usage #
moosh
It is self documenting so that's all you need.
# Shouldn't this be part of moodle like drush is part of drupal? #
Maybe?
For security it's probably best if this is separate anyway.
It's also highly lighly that this set of utils could evolve quicker to catch up with Moodle
# What about the stuff in /admin/cli/ #
Yeah but it kinda sucks. This is the start of a framework that could actually be a pleasure to use.
# This is magic! How does it work? #
Use the source. It is built on the awesome 'sub' project from 27 signals.
It then autodetects that it is inside a moodle directory, reads it's config script and goes from there.
# What's it need to run #
In theory, nothing that wouldn't be on the server anyway as part of a moodle install.