src/Shell/ValidateShell.php
public function getOptionParser()
    {
        $parser = new ConsoleOptionParser('console');
        $parser->setDescription('Validate modules configuration');
        $parser->addArgument('modules', [
            'help' => 'Comma-separated list of modules to validate.  All will be checked if omitted.',
        ]);
        $parser->addOption('no-warnings', [
            'short' => 'n',
            'help' => 'Skip warnings (display only errors)',
            'default' => false,
            'boolean' => true,
        ]);

        return $parser;
    }
public function getOptionParser()
    {
        $parser = new ConsoleOptionParser('console');
        $parser->setDescription('Validate modules configuration');
        $parser->addArgument('modules', [
            'help' => 'Comma-separated list of modules to validate.  All will be checked if omitted.',
        ]);
        $parser->addOption('no-warnings', [
            'short' => 'n',
            'help' => 'Skip warnings (display only errors)',
            'default' => false,
            'boolean' => true,
        ]);

        return $parser;
    }
public function getOptionParser ( ) { $ parser = new ConsoleOptionParser ( 'console' ) ; $ parser -> setDescription ( 'Validate modules configuration' ) ; $ parser -> addArgument ( 'modules' , [ 'help' => 'Comma-separated list of modules to validate.  All will be checked if omitted.' , ] ) ; $ parser -> addOption ( 'no-warnings' , [ 'short' => 'n' , 'help' => 'Skip warnings (display only errors)' , 'default' => false , 'boolean' => true , ] ) ; return $ parser ; }
Set shell description and command line options

@return ConsoleOptionParser
Set shell description and command line options