Usage examples :
curl -s https://gist.githubusercontent.com/0m3r/eff7ff873713e7e7223f08c1e7020f35/raw/9b1fe9263a7d64ad7c0869af04b6cf51cd5d319f/detector.sh | bash -s 2.2.0 magento/framework
curl -s https://gist.githubusercontent.com/0m3r/eff7ff873713e7e7223f08c1e7020f35/raw/9b1fe9263a7d64ad7c0869af04b6cf51cd5d319f/detector.sh --output detector.sh
cat detector.sh | bash -s 2.2.0,2.3.0 magento/framework,magento/module-store
cat detector.sh | bash -s magento/product-community-edition 2.2.0,2.3.0 magento/framework,magento/module-store