protected function loadCliCommands()
    {
        if (defined('WP_CLI') && WP_CLI && ($config = $this->loadConfigFile('commands.php'))) {
            foreach ($config as $command => $className) {
                \WP_CLI::add_command($command, $className);
            }
        }

        return $this;
    }