```ruby
class Cot < Formula
  desc "The command-line helper tool for CotEditor"
  homepage "https://coteditor.com/"
  url "https://raw.githubusercontent.com/coteditor/cot/2.6.2/cot"
  sha256 "89741c526a88f7e43288e35a4c84d86e303c0b321a47b98b696a65a6fac95a7f"

  def install
    bin.install "cot"
  end

  test do
  end
end
```

Add `head` to enable `--HEAD` option
user
```ruby
class Cot < Formula
  desc "The command-line helper tool for CotEditor"
  homepage "https://coteditor.com/"
  head "https://raw.githubusercontent.com/coteditor/cot/master/cot"
  url "https://raw.githubusercontent.com/coteditor/cot/2.6.2/cot"
  sha256 "89741c526a88f7e43288e35a4c84d86e303c0b321a47b98b696a65a6fac95a7f"

  def install
    bin.install "cot"
  end

  test do
  end
end
```
assistant