Args
class Args (View source)
Argument parser for SSPak
Properties
| protected | $namedArgs | |||
| protected | $unnamedArgs | |||
| protected | $action | 
Methods
                    public                                                                            
                
                    sudo($optionalPrefix)
        
                                            
                
            Return the sudo argument, preferring a more specific one with the given optional prefix
Details
        
                            
    __construct($args)
        
    
    No description
        
                            
    unshiftUnnamed($arg)
        
    
    No description
        
                            
    getNamedArgs()
        
    
    No description
        
                            
    getUnnamedArgs()
        
    
    No description
        
                            
    getAction()
        
    
    No description
        
                            
    unnamed($idx)
        
    
    Return the unnamed arg of the given index (0 = first)
        
                            
    sudo($optionalPrefix)
        
    
    Return the sudo argument, preferring a more specific one with the given optional prefix
        
                            
    pakParts()
        
    
    Return the pak-parks arguments, as a map of part => boolean
        
                            
    requireUnnamed($items)
        
    
    No description