Giter Site home page Giter Site logo

shopware6-additional-config-commands's Introduction

Shopware 6 additional config commands

Shopware 6 plugin adding additional config commands to the CLI. The default console only supports two commands (system:config:get and system:config:set). This plugin adds the commands system:config:list.

Installation

composer require yireo/shopware6-additional-config-commands
bin/console plugin:refresh
bin/console plugin:install YireoAdditionalConfigCommands
bin/console cache:clear

Usage

bin/console system:config:list

shopware6-additional-config-commands's People

Contributors

jissereitsma avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

shopware6-additional-config-commands's Issues

Symfony error: The command defined in "Yireo\AdditionalConfigCommands\Console\Command\ConfigList" cannot have an empty name.

After installing and activating the plugin, trying to run any bin/console command will also output the following error:


 [WARNING] Some commands could not be registered:


In Application.php line 541:

  [Symfony\Component\Console\Exception\LogicException]
  The command defined in "Yireo\AdditionalConfigCommands\Console\Command\ConfigList" cannot have an empty name.

Adding a name property in /src/Resources/config/services.xml will fix this issue:

<?xml version="1.0" ?>
<container xmlns="http://symfony.com/schema/dic/services"
           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
           xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">
    <services>
        <service id="Yireo\AdditionalConfigCommands\Console\Command\ConfigList">
            <argument type="service" id="Shopware\Core\System\SystemConfig\SystemConfigService"/>
            <tag name="console.command" command="system:config:list" />
        </service>
    </services>
</container>

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.