
Following the Magento 1 CLI tool n98-magerun(1), n98-magerun2 is its successor for Magento 2.
https://github.com/netz98/n98-magerun2
If you would like to see the tool in action, take a look at my YouTube playlist: https://www.youtube.com/watch?v=cZv9jrCYp-Q&list=PLewROsdxCkGWMlVjmf7BGlsLquWlIwHHg