ruckus/ruckusing-migrations — pull request #56 by andreascreten (2012-12-28 14:01:01+00:00)
Title: Add NAME= parameter support for db:generate

The db:generate command used the $_SERVER['args'] instead of the $args that where passed to the execute method. I changed this so it first tries to find the name from the passed $args and uses the $_SERVER['args'] as a fallback. So both styles are now supported:
`php main.php db:generate migration_name`
`php main.php db:generate name=migration_name`

I also moved the include of the config.inc.php file to the main.php, so it is always included correctly. This file is always required, so I don't see why it was included in each task separately. It now works the same way as it was done on the tests runner.