Returns a command option by its long or short name.
public getCommandOption ( string $name, boolean $includeBase = true ) : |
||
$name | string | The long or short option name. |
$includeBase | boolean | Whether to include command options in the base format in the search. |
return | The command option. |