src/ufw/Setup.php
public function run() {

        
        
        // Create a new project
        if (Console::getArg('--create')) {
            $this->createProject(Console::getArg('--create'));
            return;
        // Initialize the current workspace    
        } elseif (Console::getArg('--init')) {
            $this->initProject();
            return;
        // Run a command from an application    
        } elseif (Console::getArg('--run')) {
            $this->runAction(Console::getArg('--run'), json_decode(Console::getArg('--data', '[]'), true));
            return;
        } else {        
            $this->help();
        }
    }
public function run() {

        
        
        // Create a new project
        if (Console::getArg('--create')) {
            $this->createProject(Console::getArg('--create'));
            return;
        // Initialize the current workspace    
        } elseif (Console::getArg('--init')) {
            $this->initProject();
            return;
        // Run a command from an application    
        } elseif (Console::getArg('--run')) {
            $this->runAction(Console::getArg('--run'), json_decode(Console::getArg('--data', '[]'), true));
            return;
        } else {        
            $this->help();
        }
    }
public function run ( ) { // Create a new project if ( Console :: getArg ( '--create' ) ) { $ this -> createProject ( Console :: getArg ( '--create' ) ) ; return ; // Initialize the current workspace     } elseif ( Console :: getArg ( '--init' ) ) { $ this -> initProject ( ) ; return ; // Run a command from an application     } elseif ( Console :: getArg ( '--run' ) ) { $ this -> runAction ( Console :: getArg ( '--run' ) , json_decode ( Console :: getArg ( '--data' , '[]' ) , true ) ) ; return ; } else { $ this -> help ( ) ; } }
Inspect the command line arguments and execute it.

@return void
Inspect the command line arguments and execute it .