Skip to content

Commit

Permalink
Adding method skeleton
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Oct 14, 2010
1 parent b392f30 commit 6f1dae2
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion cake/console/console_option_parser.php
Expand Up @@ -131,6 +131,15 @@ public function addOption($name, $params = array()) {
return $this;
}

/**
* Add a positional argument to the option parser.
*
* @return void
*/
public function addArgument($name, $params = array()) {

}

/**
* Parse the argv array into a set of params and args.
*
Expand All @@ -151,7 +160,8 @@ public function parse($argv) {
}

/**
* Parse the value for a long option out of $this->_tokens
* Parse the value for a long option out of $this->_tokens. Will handle
* options with an `=` in them.
*
* @param string $option The option to parse.
* @param array $params The params to append the parsed value into
Expand Down

0 comments on commit 6f1dae2

Please sign in to comment.