How to run a single cron job execution group?

You can run a single cron job execution group by using the --group key:

php <path to magento root>/bin/magento cron:run  --group="<job execution group>" 

How is it implemented:

https://github.com/magento/magento2/blob/8fd3e8/app/code/Magento/Cron/Console/Command/CronCommand.php#L28-L28

https://github.com/magento/magento2/blob/8fd3e8/app/code/Magento/Cron/Console/Command/CronCommand.php#L54-L59

See also: