CakeDC/migrations — Issue #50: Exit error codes for migration shell
Author: joonty
Created: 2012-03-05 16:33:05+00:00
State: open

It would be useful to send different exit codes if the migration shell doesn't execute it's task fully, e.g. on abort, on error, etc. This way it can be easily used by build tools like Ant and Phing for automating migrations.

It looks like it's a case of passing an integer value as an argument to `$this->_stop()` in the `MigrationShell` class.

Thanks