The Drupal Console is a suite of tools that you run on a command line interface (CLI) to generate boilerplate code and interact with a Drupal 8 installation.
Introduction to Drupal Rector: A Tool for Automated Code Refactoring and Drupal Version Upgrades
Drupal Rector is a tool that helps developers upgrade their Drupal websites to newer versions of the platform and automate code refactoring tasks. It is designed to make upgrading and maintaining Drupal websites easier by automating many of the manual tasks required when upgrading or refactoring code.