I have two php envs and I am currently able to run something like this for different urls
modules:
enabled:
- WebDriver
- AcceptanceHelper
config:
WebDriver:
url: 'http://localhost/'
browser: 'phantomjs'
env:
alpha:
modules:
config:
WebDriver:
url: 'http://myalphasite/'
beta:
modules:
config:
WebDriver:
url: 'http://mybetasite/'
Currently I run them using commands
codecept run --env alpha
, or codecept run --env beta
Is there a way to provide the url from commandline while running the codeception tests , something like codecept run site=alpha.test.com and then grabbing it from inside the config instead of hardcoding urls ?