public function option(string $option, ?string $value = null): ProcessBuilder
    {
        if ($option === '') {
            return $this;
        }

        if (strpos($option, '-') !== 0) {
            $option = sprintf('--%s', $option);
        }

        $this->arguments[] = $option;

        if ($value !== null) {
            $this->arguments[] = $value;
        }

        return $this;
    }