src/Configure.php
public function addOption($name, $shortcut = null, $mode = null, $description = '', $default = null) : self
    {
        $this->cmd->addOption($name, $shortcut, $mode, $description, $default);
        return $this;
    }
public function addOption($name, $shortcut = null, $mode = null, $description = '', $default = null) : self
    {
        $this->cmd->addOption($name, $shortcut, $mode, $description, $default);
        return $this;
    }
Adds an option.

@param string $name        The option name
@param string $shortcut    The shortcut (can be null)
@param int    $mode        The option mode: One of the InputOption::VALUE_* constants
@param string $description A description text
@param mixed  $default     The default value (must be null for InputOption::VALUE_NONE)

@return static