diff --git a/custom/lib/handleParams.php b/custom/lib/handleParams.php index 1ffd8fb..9e83830 100644 --- a/custom/lib/handleParams.php +++ b/custom/lib/handleParams.php @@ -29,6 +29,12 @@ function run(){ $this->main(); return $this->config; } + /** + * parseArgs Command Line Interface (CLI) utility function. + * @usage $args = parseArgs($_SERVER['argv']); + * @author Patrick Fisher + * @source https://github.com/pwfisher/CommandLine.php + */ public static function parseArgs($argv){ array_shift($argv); $out = array();