private static function parseCommands(array $arguments):array
    {
        $commands = [];
        foreach ($arguments as $one) {
            if (strpos($one, '--') === false) {
                $commands[] = $one;
            }
        }
        return ($commands);
    }
private static function parseCommands(array $arguments):array
    {
        $commands = [];
        foreach ($arguments as $one) {
            if (strpos($one, '--') === false) {
                $commands[] = $one;
            }
        }
        return ($commands);
    }
private static function parseCommands ( array $ arguments ) : array { $ commands = [ ] ; foreach ( $ arguments as $ one ) { if ( strpos ( $ one , '--' ) === false ) { $ commands [ ] = $ one ; } } return ( $ commands ) ; }
Parse commands on console
@param array $arguments All element in console
@return array The commands on console
Parse commands on console