Core example:
php index.php common.clean_empty_dirs
-> executes common/scripts/clean_empty_dirs.php
Third-party example:
php index.php module_name.script_name
-> executes modules/module_name/scripts/script_name.php
This should be the preferred method of executing PHP scripts included with
any third-party module, because it ensures that the working environment is
correct. For example, it will set the current working directory to Rhymix root,
check that the UID matches the usual web user, include all core libraries and
initialize the Context properly.
Over time, we will expand the command-line functionality similar to
the 'artisan' command in Laravel.