#!/usr/bin/env php addCommands([ new DiffCommand, new MigrationNewCommand, new MigrationUpCommand, new MigrationDownCommand, new MigrationStatusCommand, new MigrationValidateCommand, new MigrationRepairCommand, new MigrationBaselineCommand, new UrlEncodeCommand, ]); // `diff` is the default so that the legacy invocation // dbdiff server1.db1:server2.db2 // continues to work unchanged. $app->setDefaultCommand('diff'); $app->run();