class Swiftkit < Formula
  desc "CLI for The Swift Kit — fetch llms.txt, OpenAPI, and docs"
  homepage "https://theswiftk.it.com/developers"
  url "https://theswiftk.it.com/cli/swiftkit.js"
  version "1.0.0"
  sha256 "0e0dbfe5051011beb25ad80248e6c114468d4050cfc08a3fabfc84a2cbccc135"
  license "MIT"

  depends_on "node"

  def install
    bin.install "swiftkit.js" => "swiftkit"
  end

  test do
    assert_match "swiftkit", shell_output("#{bin}/swiftkit help")
  end
end
