These are chat archives for Behat/Behat

17th
Jan 2018
Thread Reader Bot 🤖
@threadreaderapp_twitter
Jan 17 2018 06:10
hello everyone, i looked all the doc i can found about it but still no luck
I'm wondering how/if it is possible to pass an argument on the behat command line that I can get in my context after?
for example behat --colors --my-arg=my-value
I kind of see that it may be possible to pass through env var but this is not so flexible
Ciaran McNulty
@ciaranmcnulty
Jan 17 2018 06:22
I don’t think this functionality is built in
Christophe Coevoet
@stof
Jan 17 2018 09:15
you will need to write a Behat extension for that
Thread Reader Bot 🤖
@threadreaderapp_twitter
Jan 17 2018 19:56
thank you both for your help :)