src/Viserio/Component/OptionsResolver/Provider/ConsoleCommandsServiceProvider.php
public static function extendConsole(ContainerInterface $container, ?Application $console = null): ?Application
    {
        if ($console !== null) {
            // @var Application $console
            $console->addCommands([
                new OptionDumpCommand(),
                new OptionReaderCommand(),
            ]);
        }

        return $console;
    }
public static function extendConsole(ContainerInterface $container, ?Application $console = null): ?Application
    {
        if ($console !== null) {
            // @var Application $console
            $console->addCommands([
                new OptionDumpCommand(),
                new OptionReaderCommand(),
            ]);
        }

        return $console;
    }
Extend viserio console with commands.

@param \Psr\Container\ContainerInterface           $container
@param null|\Viserio\Component\Console\Application $console

@return null|\Viserio\Component\Console\Application