addConfigureAuth example

public function completeArgumentValues($argumentName, CompletionContext $context)
    {
        return [];
    }

    /** * {@inheritdoc} */
    protected function configure()
    {
        parent::addConfigureShopwareVersion();
        parent::addConfigureAuth();
        parent::addConfigureHostname();

        $this
            ->setName('sw:store:list')
            ->setDescription('List licensed plugins.')
        ;
    }

    /** * {@inheritdoc} */
    
use Symfony\Component\Console\Helper\Table;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;

class StoreListDomainsCommand extends StoreCommand
{
    /** * {@inheritdoc} */
    protected function configure()
    {
        parent::addConfigureAuth();

        $this
            ->setName('sw:store:list:domains')
            ->setDescription('List connected domains.')
        ;
    }

    /** * {@inheritdoc} */
    protected function execute(InputInterface $input, OutputInterface $output)
    {
Home | Imprint | This part of the site doesn't use cookies.