meltingmedia / MODX-Shell

A CLI application wrapper for MODX Revolution.
MIT License
9 stars 2 forks source link

Helper to (un)register packages commands #6

Closed rtripault closed 9 years ago

rtripault commented 9 years ago

We should provide an helper service (as Revo package/component), to ease the process of (un)registering third party "commands provider" services, ie.

$service = $modx->getService('shell_registrar', 'ShellRegistrar');
$service->register('ServiceClass', $options);
$service->unRegister('ServiceClass');
rtripault commented 9 years ago

Closing as not directly related to this