#!/usr/bin/env php setDispatcher($eventDispatcher); // TODO: Use factory for commands, which injects event dispatcher and chrome driver? $application->add(new CreateBaseCommand($eventDispatcher, $chromeDriver)); $application->add(new CompareCommand($eventDispatcher, $chromeDriver)); $application->run();