public function registerCommandPlugins()
    {
        $spress = $this->getSpress();

        try {
            $pm = $spress['spress.plugin.pluginManager'];

            $commandBuilder = new ConsoleCommandBuilder($pm);
            $consoleCommandFromPlugins = $commandBuilder->buildCommands();

            foreach ($consoleCommandFromPlugins as $consoleCommand) {
                $this->add($consoleCommand);
            }
        } catch (\Exception $e) {
        }
    }