Class not found in drush command definition
As @Berdir says it seems Drupal is not fully bootstrapped when the hook_drush_command() is called as I tried to use a service defined in a custom module and I get the following error:

\Drupal::$container is not initialized yet. 


So the solution for the moment is hardcode the values that should be returned by the function.