public static function getArgumentSpecifications()
    {
        $specs = new OptionCollection;
        $specs->add('d|dir:', 'Tests directory path')
            ->isa('String');

        $specs->add('s|subdir+', 'Optional, subdirectory pattern, can be used multiple times as OR expression')
            ->isa('String')
            ->defaultValue(null);

        $specs->add('b|bootstrap?', 'Bootstrap file path')
            ->isa('File')
            ->defaultValue(null);

        $specs->add('v|verbose', 'Verbose output')
            ->defaultValue(false);

        $specs->add('show-globals', 'Show values of global variables')->defaultValue(false);
        $specs->add('debug', 'Show debug messages')->defaultValue(false);
        $specs->add('h|help', 'Show help')->defaultValue(false);
        $specs->add('no-colors', 'No colors')->defaultValue(false);
        $specs->add('i|immediate', 'Show error output immediately as it appears')->defaultValue(false);

        $specs->add('server-host?', 'Server host')->defaultValue(null);
        $specs->add('server-root',  'Server root path, default is ./public')->defaultValue('./public');

        return $specs;
    }
public static function getArgumentSpecifications()
    {
        $specs = new OptionCollection;
        $specs->add('d|dir:', 'Tests directory path')
            ->isa('String');

        $specs->add('s|subdir+', 'Optional, subdirectory pattern, can be used multiple times as OR expression')
            ->isa('String')
            ->defaultValue(null);

        $specs->add('b|bootstrap?', 'Bootstrap file path')
            ->isa('File')
            ->defaultValue(null);

        $specs->add('v|verbose', 'Verbose output')
            ->defaultValue(false);

        $specs->add('show-globals', 'Show values of global variables')->defaultValue(false);
        $specs->add('debug', 'Show debug messages')->defaultValue(false);
        $specs->add('h|help', 'Show help')->defaultValue(false);
        $specs->add('no-colors', 'No colors')->defaultValue(false);
        $specs->add('i|immediate', 'Show error output immediately as it appears')->defaultValue(false);

        $specs->add('server-host?', 'Server host')->defaultValue(null);
        $specs->add('server-root',  'Server root path, default is ./public')->defaultValue('./public');

        return $specs;
    }
public static function getArgumentSpecifications ( ) { $ specs = new OptionCollection ; $ specs -> add ( 'd|dir:' , 'Tests directory path' ) -> isa ( 'String' ) ; $ specs -> add ( 's|subdir+' , 'Optional, subdirectory pattern, can be used multiple times as OR expression' ) -> isa ( 'String' ) -> defaultValue ( null ) ; $ specs -> add ( 'b|bootstrap?' , 'Bootstrap file path' ) -> isa ( 'File' ) -> defaultValue ( null ) ; $ specs -> add ( 'v|verbose' , 'Verbose output' ) -> defaultValue ( false ) ; $ specs -> add ( 'show-globals' , 'Show values of global variables' ) -> defaultValue ( false ) ; $ specs -> add ( 'debug' , 'Show debug messages' ) -> defaultValue ( false ) ; $ specs -> add ( 'h|help' , 'Show help' ) -> defaultValue ( false ) ; $ specs -> add ( 'no-colors' , 'No colors' ) -> defaultValue ( false ) ; $ specs -> add ( 'i|immediate' , 'Show error output immediately as it appears' ) -> defaultValue ( false ) ; $ specs -> add ( 'server-host?' , 'Server host' ) -> defaultValue ( null ) ; $ specs -> add ( 'server-root' , 'Server root path, default is ./public' ) -> defaultValue ( './public' ) ; return $ specs ; }
Get argument specifications
@return OptionCollection
Get argument specifications