Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions custom/lib/handleParams.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 <[email protected]>
* @source https://github.com/pwfisher/CommandLine.php
*/
public static function parseArgs($argv){
array_shift($argv);
$out = array();
Expand Down