| 
<?php
 /*
 * Project:            Absynthe Shell
 * File:            AShell.class.php
 * Author:            Sylvain 'Absynthe' Rabot <[email protected]>
 * Webste:            http://aforge.abstraction.fr/
 * Version:            alpha 1
 * Date:            08/07/2007
 * License:            LGPL
 */
 
 require './ashell.class.php';
 
 class dumpargs extends ASCommand
 {
 public function __construct()
 {
 $this->name            = "dumpargs";
 $this->prompt        = "dumpargs$ ";
 $this->description    = "This command show you the arguments";
 $this->help            = '';
 }
 
 public function start()
 {
 $this->newLine();
 $this->write("Content of the arguments : ");
 $this->newLine(2);
 
 var_dump($this->arguments);
 
 $this->newLine(2);
 }
 }
 
 $shell = new AShell();
 $shell->registerCommand($command = new dumpargs());
 $shell->start();
 
 
 ?>
 |