private function registerCommand(ContainerBuilder $container): self
    {
        $container->register('contentful.delivery.command.info', InfoCommand::class)
            ->addArgument(new Parameter('contentful.delivery.clients.info'))
            ->addTag('console.command', [
                'command' => 'contentful:delivery:info',
            ])
        ;

        $container->register('contentful.delivery.command.debug', DebugCommand::class)
            ->addArgument(new TaggedIteratorArgument('contentful.delivery.client'))
            ->addArgument(new Parameter('contentful.delivery.clients.info'))
            ->addTag('console.command', [
                'command' => 'contentful:delivery:debug',
            ])
        ;

        return $this;
    }
private function registerCommand(ContainerBuilder $container): self
    {
        $container->register('contentful.delivery.command.info', InfoCommand::class)
            ->addArgument(new Parameter('contentful.delivery.clients.info'))
            ->addTag('console.command', [
                'command' => 'contentful:delivery:info',
            ])
        ;

        $container->register('contentful.delivery.command.debug', DebugCommand::class)
            ->addArgument(new TaggedIteratorArgument('contentful.delivery.client'))
            ->addArgument(new Parameter('contentful.delivery.clients.info'))
            ->addTag('console.command', [
                'command' => 'contentful:delivery:debug',
            ])
        ;

        return $this;
    }
private function registerCommand ( ContainerBuilder $ container ) : self { $ container -> register ( 'contentful.delivery.command.info' , InfoCommand :: class ) -> addArgument ( new Parameter ( 'contentful.delivery.clients.info' ) ) -> addTag ( 'console.command' , [ 'command' => 'contentful:delivery:info' , ] ) ; $ container -> register ( 'contentful.delivery.command.debug' , DebugCommand :: class ) -> addArgument ( new TaggedIteratorArgument ( 'contentful.delivery.client' ) ) -> addArgument ( new Parameter ( 'contentful.delivery.clients.info' ) ) -> addTag ( 'console.command' , [ 'command' => 'contentful:delivery:debug' , ] ) ; return $ this ; }
Registers the CLI command which is in charge of extracting the configuration info,
and displaying it for debugging purposes.

@param ContainerBuilder $container

@return ContentfulExtension
Registers the CLI command which is in charge of extracting the configuration info and displaying it for debugging purposes .