title: After upgrade from Shopware 5.6.10->5.7.6, custom console commands are missing
body: <p>We upgraded a Shopware 5 system for testing from 5.6.10 to 5.7.6</p>
  <p>Now the console command</p>
  <pre><code>hpr:orders:export  
  </code></pre>
  <p>is missing.</p>
  <p>This is from a marketplace module which is no longer officially supported - the question is if there is an easy way to patch it.</p>
  <p>Old installation:</p>
  <pre><code>php7.2 ./console |grep hpr
   hpr
    hpr:orders:export                          Starting the export (as defined in the plugin-config) of the orders. Options are mostly the same as the REST-API options.
  </code></pre>
  <p>After Upgrade:</p>
  <pre><code> php7.4 ./console |grep hpr
   (no output)
  </code></pre>
  <p>In the <a href="https://developers.shopware.com/developers-guide/shopware-5-upgrade-guide-for-developers/" rel="nofollow noreferrer">upgrade guide for 5.7</a>, it states that Symfony was upgraded ... but no breaking changes concerning this are mentioned directly.</p>
  <pre><code>namespace HPrAutomaticOrderExport\Components;
  
  use Exception;
  use Shopware\Commands\ShopwareCommand;
  use Shopware\Components\Plugin\ConfigReader;
  use Symfony\Component\Console\Input\InputInterface;
  use Symfony\Component\Console\Input\InputOption;
  use Symfony\Component\Console\Output\OutputInterface;
  
  class CLICommand extends ShopwareCommand
  {
  
  
      protected function configure()
      {
      $this-&gt;setName('hpr:orders:export');
      $this-&gt;setDescription('Starting the export (as defined in the plugin-config) of the orders. Options are mostly the same as the REST-API options.');
      $this-&gt;addOption('states', null, InputOption::VALUE_OPTIONAL, 'coma seperated list of order-states ids to filter output');
      $this-&gt;addOption('statespayment', null, InputOption::VALUE_OPTIONAL, 'coma seperated list of payment-states ids to filter output');
      $this-&gt;addOption('range', null, InputOption::VALUE_OPTIONAL, 'date range: startdate,enddate'); //TODO syntax for today - n days would be great!!!!!!
      $this-&gt;addOption('start', null, InputOption::VALUE_OPTIONAL, 'start index in list of orders (defaukt is 0, beginning of the list)');
      $this-&gt;addOption('limit', null, InputOption::VALUE_OPTIONAL, 'maximal count of orders to export (default is 100)');
      $this-&gt;addOption('number', null, InputOption::VALUE_OPTIONAL, 'number of a single order');
      $this-&gt;addOption('exportall', null, InputOption::VALUE_OPTIONAL, 'export all orders, ignore states');
      }
  </code></pre>
  <p>The plugin is enabled:</p>
  <pre><code> php7.4 console sw:plugin:list|grep Order
   | HPrAutomaticOrderExport             | Automatic XML Order-Export Standard                                        
   | 3.7.1   | Windeit Software GmbH    | Yes    | Yes       |
  </code></pre>
  <p>services.xml <em>EDIT</em></p>
  <pre><code>    &lt;service id=&quot;hp_order_export_command&quot; class=&quot;HPrAutomaticOrderExport\Components\CLICommand&quot;&gt;
          &lt;tag name=&quot;console.command&quot; /&gt;
          &lt;argument type=&quot;service&quot; id=&quot;shopware.plugin.config_reader&quot;/&gt;
          &lt;argument type=&quot;service&quot; id=&quot;hp_order_export_service&quot;/&gt;
      &lt;/service&gt;
  </code></pre>
  <p><em>UPDATE</em> We just disabled the plugin, because we don't really need it - I still leave this open for further readers.</p>