Drupal Console provides integration with modules using namespace discovery methods. When Console is run in a Drupal installation, it will discover all the available projects. It then discovers any files in the \Drupal\{ a module }\Command namespace that implements \Drupal\Console\Command\Command.
Drupal Console will rescan the Drupal directory for available commands every time it is invoked, as it does not keep a cache of available commands.