public function loadMigrationParameters()
 {
     $config_file_config = array(array('config', 'f', 'db-migration.yml'));
     $config_cli_parameters = $this->getCliArguments($config_file_config);
     $config_file = $config_cli_parameters['config'] = realpath($config_cli_parameters['config']);
     $file_options = array();
     if (is_file($config_file)) {
         $file_options = Utilities::loadConfig($config_file);
         if (!$file_options) {
             $file_options = array();
         }
         chdir(dirname($config_file));
     }
     $parameters = array_merge($file_options, $config_cli_parameters);
     $this->app->setParameters($parameters);
     $base_config = array(array('migrations', 'm', 'db-migrations', "Path to migration scripts", true), array('driver', 'r', 'mysql', "Database driver"));
     $parameters = $this->getCliArguments($base_config, $parameters);
     $this->app->setParameters($parameters);
     $tracker_defaults = $this->app->getTrackerDefaults();
     $parameters = $this->getCliArguments($tracker_defaults, $parameters);
     $parameters['migrations'] = $this->normalizeMigrationPaths($parameters['migrations']);
     $parameters['pwd'] = getcwd() . DIRECTORY_SEPARATOR;
     $this->app->setParameters($parameters);
     // if (!($this->app->parameters['clean'] !== 'no')) {
     //     $this->printParameters();
     // }
 }