protected function _parseShopConfigs()
    {
        if ($this->input->getOption('base-shop')) {
            return array(Registry::getConfig());
        }

        if ($shopId = $this->input->getOption('shop')) {
            if ($oConfig = ShopConfig::get($shopId)) {
                return array($oConfig);
            }

            throw oxNew(
                InputException::class,
                'Shop id does not exist'
            );
        }

        return ShopConfig::getAll();
    }