cask "slack-cli" do version "2.31.0" sha256 "2ae823a714dc7a77ea10ae7fab2378e43a4537f1d3472bbd04abdd53af2bbb97" url "https://downloads.slack-edge.com/slack-cli/slack_cli_#{version}_macOS_64-bit.tar.gz", verified: "downloads.slack-edge.com/slack-cli/" name "Slack CLI" desc "CLI to create, run, and deploy Slack apps" homepage "https://api.slack.com/future/tools/cli" livecheck do url "https://api.slack.com/slackcli/metadata.json" strategy :json do |json| json.dig("slack-cli", "releases")&.map { |release| release["version"] } end end depends_on formula: "deno" binary "bin/slack" # No zap stanza required caveats do requires_rosetta end end