From: Alan Knowles Date: Mon, 5 Sep 2011 05:33:11 +0000 (+0800) Subject: RunGenerator.php X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=f5a29fdea5bb744f3e5f6416aea207ea11281408 RunGenerator.php --- diff --git a/RunGenerator.php b/RunGenerator.php index c028a1a4..e35e728c 100644 --- a/RunGenerator.php +++ b/RunGenerator.php @@ -12,7 +12,26 @@ require_once 'Pman.php'; class Pman_Core_RunGenerator extends Pman { static $cli_desc = "Update SQL or Generate DataObjects"; - + + static $cli_opts = array( + 'module' => array( + 'desc' => 'Module', + 'short' => 'm', + 'min' => 1, + 'max' => 1, + + ), + 'overwrite' => array( + 'desc' => 'Files to Overwrite', + 'default' => '', + 'short' => 'o', + 'min' => 0, + 'max' => 999, + + ) + + ); + var $cli = false; function getAuth() {