#!/usr/bin/env php isSetup()) { $helpers = array( 'db' => new ConnectionHelper($cli['EM']->getConnection()), 'em' => new EntityManagerHelper($cli['EM']) ); $helperSet = $cli['console']->getHelperSet(); foreach ($helpers as $name => $helper) { $helperSet->set($helper, $name); } } $cli->command(new InstallAll()); $cli->command(new BowerInstall()); $cli->command(new ComposerInstall()); $cli->command(new RegenerateSqliteDb()); $cli->command(new APIRoutesDumper()); $cli->command(new RoutesDumper()); $cli->command(new Behat()); $cli->command(new LessCompiler()); $cli->command(new JavascriptBuilder()); $cli->command(new \module_console_systemTemplateGenerator('system:generate-templates')); $cli['console']->addCommands(array( // DBAL Commands new RunSqlCommand(), new ImportCommand(), // ORM Commands new MetadataCommand(), new ResultCommand(), new QueryCommand(), new CreateCommand(), new UpdateCommand(), new DropCommand(), new EnsureProductionSettingsCommand(), new ConvertDoctrine1SchemaCommand(), new GenerateRepositoriesCommand(), new GenerateEntitiesCommand(), new GenerateProxiesCommand(), new ConvertMappingCommand(), new RunDqlCommand(), new ValidateSchemaCommand(), )); exit($cli->runCLI());