Add new command

This commit is contained in:
Romain Neutron
2012-06-01 16:21:53 +02:00
parent 107593f2b9
commit fe2e85c77d
2 changed files with 145 additions and 0 deletions

View File

@@ -83,6 +83,8 @@ try {
$app->add(new module_console_fieldsRename('fields:rename'));
$app->add(new module_console_fieldsMerge('fields:merge'));
$app->add(new Alchemy\Phrasea\Command\RescanTechnicalDatas('records:rescan-technical-datas'));
$result_code = is_int($app->run()) ? : 1;
} catch (Exception $e) {
echo sprintf("an error occured : %s", $e->getMessage());